mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
commit
08ead52433
6 changed files with 226 additions and 19 deletions
|
@ -410,13 +410,13 @@ Ex: Wed May 23 06:01:13 +0000 2007
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><code>startTime</code></td>
|
||||
<td><code>start_time</code></td>
|
||||
<td>String (UTC <code>YYYY-MM-DD HH:II:SS)</code>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><code>endTime</code></td>
|
||||
<td><code>end_time</code></td>
|
||||
<td>String (UTC <code>YYYY-MM-DD HH:II:SS)</code>)</td>
|
||||
<td>Optional (null date is <code>0001-01-01 00:00:00</code></td>
|
||||
</tr>
|
||||
|
|
|
@ -24,6 +24,32 @@ 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)
|
||||
- `start_time` : start of the event (ISO), required
|
||||
- `end_time` : (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
|
||||
- `allow_cid` : (optional) ACL-formatted list of allowed contact ids if private event
|
||||
- `allow_gid` : (optional) ACL-formatted list of disallowed contact ids if private event
|
||||
- `deny_cid` : (optional) ACL-formatted list of allowed group ids if private event
|
||||
- `deny_gid` : (optional) ACL-formatted list of disallowed group ids if private 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