mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
new event APIs
This commit is contained in:
parent
9be09f7df5
commit
bd02340162
4 changed files with 203 additions and 0 deletions
|
@ -24,6 +24,28 @@ Returns a list of [Event](help/API-Entities#Event) entities for the current logg
|
|||
- `since_id`: (optional) minimum event id for pagination
|
||||
- `count`: maximum number of items returned, default 20
|
||||
|
||||
### POST api/friendica/event_create
|
||||
|
||||
Create a new event for the current logged in user.
|
||||
|
||||
#### Parameters
|
||||
|
||||
- `id` : (optional) id of event, event will be amended if supplied
|
||||
- `name` : name of the event (required)
|
||||
- `startTime` : start of the event (ISO), required
|
||||
- `endTime` : (optional) end of the event, event is open end, if not supplied
|
||||
- `desc` : (optional) description of the event
|
||||
- `place` : (optional) location of the event
|
||||
- `publish` : (optional) create message for event
|
||||
|
||||
### POST api/friendica/event_delete
|
||||
|
||||
Delete event from calendar (not the message)
|
||||
|
||||
#### Parameters
|
||||
|
||||
- `id` : id of event to be deleted
|
||||
|
||||
### GET api/externalprofile/show
|
||||
|
||||
Returns a [Contact](help/API-Entities#Contact) entity for the provided profile URL.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue