...
Use this method to obtain a list of Jira projects over which the current user has permissions to access their documents. The result is in JSON format and contains a list of the projects along with some attributes.
Request URL
The request URL takes the following form:
GET <ROOT>/rest/stonikbyte-documents-api/1.0/accessible-project
A successful response
An HTTP 200 status response indicates a successful request. Here is an example of data returned in JSON format:
...
Data | Description | Example |
---|---|---|
Id | The ID the Jira project | 10000 |
Name | The name of the Jira project | "DEMO Project" |
Error Response
If the REST call fails, the service returns one of the following HTTP statuses:
HTTP Status Code | Description |
---|---|
401 Unauthorized | Returned for unauthenticated requests or in case of invalid Documents app license |