Commit Graph

13 Commits

Author SHA1 Message Date
Luna daee044a4f admin_api.guilds: make get guild route raise GuildNotFound
before it was returning 200 but with a `null` inside, I don't think
that's reasonable API design.

 - test_admin_api/test_guilds: add checks for GuildNotFound error code
2019-04-22 02:41:24 -03:00
Luna a6ecc84b9f test_admin_api/test_guilds: add test_guild_update
- docs/admin_api.md: add note on unavailable guild object being
 returned
2019-04-22 02:17:51 -03:00
Luna aff4653454 docs/admin_api.md: add PATCH /users/:id to docs 2019-04-22 00:31:54 -03:00
Luna 3dc2e01c28 admin_api.guilds: add PATCH /api/v6/admin/guilds/:id
currently does not do anything else other than updating and returning
the guild, as we don't store the availability of it on the database as
of rn.
2019-04-21 17:21:31 -03:00
Luna 700e590e8b admin_api.users: add user deletion
- users: expose _force_disconnect as user_disconnect
2019-03-16 18:44:02 -03:00
Luna efebd21cfb docs/admin_api.md: add per_page arg
- admin_api.users: properly return user objects
2019-03-16 18:23:37 -03:00
Luna e60b396e19 admin_api.users: add user search endpoint 2019-03-16 18:18:02 -03:00
Luna 78aba9432e admin_api.instance_invites add impls for other endpoints
- docs/admin_api.md: document them
 - docs/admin_api.md: add basic usage of the api
2019-03-16 17:23:00 -03:00
Luna 76048f3abc docs/admin_api.md: add draft for upcoming endpoints 2019-03-16 16:00:21 -03:00
Luna e8c55ac2a9 docs/admin_api.md: add supported features 2019-03-15 16:17:18 -03:00
Luna 276fc4c093 docs/admin_api.md: add Guilds and Guild features sections 2019-03-15 16:14:44 -03:00
Luna 30be092c3c docs/admin_api.md: update headings 2019-03-15 16:09:52 -03:00
Luna cb029b36e3 add admin api (w/ voice endpoints)
- add docs/admin_api.md
 - add litecord.voice_schemas
 - auth: add admin_check
 - voice.manager: add VoiceManager.voice_server_list
2019-03-04 00:37:56 -03:00