Document events endpoints

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-12-04 12:34:09 +01:00
parent 10eaf60fe9
commit 6317930b30

View file

@ -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'),
/**