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": [ "7a4553fc-bce5-4865-adad-7518748e95e5", "fd7ba2c7-07f3-4420-bda5-f3fe8e4ba3fa" ], "sample string 2": [ "d16ef89f-167c-4a9d-975b-d4d9b96734e2", "1e51abfa-9928-454f-997d-95d2d5d6f8cc" ] }
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...