Document events endpoints
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
10eaf60fe9
commit
6317930b30
1 changed files with 14 additions and 0 deletions
|
@ -280,6 +280,20 @@ const getInstanceFeatures = (instance: Instance) => {
|
|||
*/
|
||||
ethereumLogin: v.software === MITRA,
|
||||
|
||||
/**
|
||||
* Ability to create and perform actions on events.
|
||||
* @see POST /api/v1/pleroma/events
|
||||
* @see GET /api/v1/pleroma/events/joined_events
|
||||
* @see PUT /api/v1/pleroma/events/:id
|
||||
* @see GET /api/v1/pleroma/events/:id/participations
|
||||
* @see GET /api/v1/pleroma/events/:id/participation_requests
|
||||
* @see POST /api/v1/pleroma/events/:id/participation_requests/:participant_id/authorize
|
||||
* @see POST /api/v1/pleroma/events/:id/participation_requests/:participant_id/reject
|
||||
* @see POST /api/v1/pleroma/events/:id/join
|
||||
* @see POST /api/v1/pleroma/events/:id/leave
|
||||
* @see GET /api/v1/pleroma/events/:id/ics
|
||||
* @see GET /api/v1/pleroma/search/location
|
||||
*/
|
||||
events: v.software === PLEROMA && v.build === REBASED && gte(v.version, '2.4.50'),
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue