GET resource/get-documents-published-by-user?user_id={user_id}
Get a list of resources which have been published by a concrete user identifier.
Request Information
Headers
HTTP_AUTHORIZATION: Required. OAuth 1.0 parameters with the OAuth signature of the url you are going to request. The consumer keys and access token can be obtained from the community administration.
Sample:HTTP_AUTHORIZATION: OAuth oauth_token="CObXqjfOisVh9%2F2GjC7NNd8BCzY%3D", oauth_consumer_key="clGACsiGaMp%2FD%2BUwkSvRBxA1k50%3D", oauth_nonce="VqKza6d5x1HpPQWFe08spbdOnkTQpfaLfD9Oeuyg", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1462882011", oauth_signature="RH5aKKKJaEvK5cIsZZzXtFh7cCk%3D"
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
user_id |
User identifier |
globally unique identifier |
Required |
Response Information
Resource Description
Description | Type |
---|---|
Dictionary`2 |
Response Formats
application/json, text/json
Sample:
{ "sample string 1": [ "8d778aa1-eca1-47f6-9143-2652010c71c1", "79cf2b1f-ad01-4b20-aacb-6a9778ea68e9" ], "sample string 2": [ "851f9157-b950-4ec7-a7bd-cff146d22402", "7b139ffc-0a87-4fbe-8121-2cbd7a2fc17b" ] }
Response HTTP status code
On success, the response contains 200 code.
On fail, throws a WebException with code:
- 401 Unauthorized if the OAuth signature is invalid
- 400 Bad Request if the params are invalid
- 500 Internal server error if something goes wrong...