Jonne Haß
6dbef95951
API: return whether post or item was already reported or not
2020-02-09 11:04:59 +01:00
Jonne Haß
cd0995abf3
API: Don't return notifications target unless it's a post
2020-02-09 11:03:55 +01:00
Jonne Haß
04d0d6dccb
API: return mentioned_people for comments
2020-02-04 18:54:53 +01:00
Dennis Schubert
6df742a7cb
Do not allow additional properties in the API's photo_sizes schema definition
2020-02-04 15:52:58 +01:00
Dennis Schubert
bf55d07580
Re-add sizes.raw to the photo JSON
...
because we need it for showing the raw image in the lightbox. This got lost, as the photo extension was made after API development started.
2020-02-04 14:38:49 +01:00
Jonne Haß
b1f357849b
API: return post oEmbed data
2020-02-02 20:15:36 +01:00
Jonne Haß
5921cd0176
API: return post open graph metadata
2020-02-02 20:15:36 +01:00
Jonne Haß
8cae234f45
API: return own vote state in polls
2020-02-02 18:40:07 +01:00
Jonne Haß
fbd0a51829
API: return current users like, reshare and subcription status in post infos
2020-02-02 18:13:55 +01:00
Jonne Haß
9e762fcc31
Use full references in API JSON schema
...
We load another schema, https://diaspora.github.io/diaspora_federation/schemas/federation_entities.json ,
that has overlapping definitions, namely #/definitions/post. When the definition from that schema is accessed
first, the json-schema gem caches it and is not smart enough to give precedence to the definition
within the schema document that contains the reference. So for now we have to disambiguate the references
likes this
2020-02-02 18:03:51 +01:00
Jonne Haß
35bfbc9c82
Return missing created_at field on reshares endpoint
2020-01-24 16:58:32 +01:00
Jonne Haß
16b242fa0f
Drop chat_enabled from aspects API
2020-01-21 23:35:01 +01:00
Jonne Haß
39c863ead9
Merge branch 'develop' into api
2020-01-21 23:35:01 +01:00
Jonne Haß
6d6e846916
API: photo width and height are optional
2020-01-21 23:34:43 +01:00
Jonne Haß
16e754f4c7
API: don't return default avatar
2020-01-21 23:34:00 +01:00
Dennis Schubert
862fa38f8b
Remove the JSXC/Prosody integration.
...
As per discussion on https://discourse.diasporafoundation.org/t/removing-diaspora-s-current-chat-integration/2718 , nobody raised serious concerns or objections. Given future plans, we do not think having an unfinished implementation of something that likely will not get finished in the current form is worth it. So let's get rid of it.
2019-10-18 23:14:14 +02:00
Jonne Haß
9b8f10358a
Introduce JSON Schema for API responses and validate the responses against it
2019-04-27 16:01:54 +02:00
Senya
2be60eab1b
Update archive-format.json
...
/ was missing in the profile entity $ref
closes #7835
2018-07-17 01:23:56 +02:00
Benjamin Neff
4fa92c1823
Remove flag for contacts visible to each other
...
This feature only worked on the same pod and was more confusing than
useful.
2018-04-12 01:39:11 +02:00
Benjamin Neff
35711606e4
Remove public and provider_display_name from reshares
2017-09-28 23:04:34 +02:00
cmrd Senya
7374661e2f
Update the user data export archive format.
...
This commit introduces changes to the user data export archive format.
This extends data set which is included in the archive. This data can be
then imported to other pods when this feature is implemented.
Also the commit adds the archive format json schema. ATM it is used in
automatic tests only, but in future it will also be used to validate
incoming archives.
2017-08-10 09:36:26 +03:00