You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.0 KiB
2.0 KiB
Integration
Base endpoint is: /ocs/v2.php/apps/spreed/api/v1
Get conversation for an internal file
-
Method:
GET -
Endpoint:
/file/{fileId} -
Data:
field type Description fileIdint File id for which the conversation should be given -
Response:
-
Status code:
200 OK404 Not FoundWhen the item was not found404 Not FoundWhen the found item is not a file404 Not FoundWhen the user can not access the file404 Not FoundWhen the file is not shared with anyone
-
Data:
field type Description tokenstring The token of the conversation for this file
-
Get conversation for a public share
-
Method:
GET -
Endpoint:
/publicshare/{shareToken} -
Data:
field type Description shareTokenstring Share token for which the conversation should be given -
Response:
-
Status code:
200 OK404 Not FoundWhen the share was not found404 Not FoundWhen the user can not access the share404 Not FoundWhen the shared item is not a file
-
Data:
field type Description tokenstring The token of the conversation for this file
-
Create a conversation to request the password for a public share
-
Method:
POST -
Endpoint:
/publicshareauth -
Data:
field type Description shareTokenstring Share token for which the conversation should be given -
Response:
-
Status code:
200 OK404 Not FoundWhen the share was not found404 Not FoundWhen "Request password via Talk" is not active for the share
-
Data:
field type Description tokenstring The token of the conversation for this file namestring A technical name for the conversation displayNamestring The visual name of the conversation
-