Project parameters
The request lets you get the names and IDs of all the projects created by the Developer Dashboard user.
Request format
To view the parameters of all projects, use an HTTP request with the GET
method:
GET /projects
Host: api-developer.tech.yandex.net
X-Auth-Key: <your API key>
Host
The URL of the node providing the API.
X-Auth-Key
Authorization key.
Response format
If the request has been completed successfully, the API returns a response with the code 200. The response body contains an object in JSON format:
{
"projects": [
{
"id": "68981a83-056f-4a61-9d67-873e4e13fd2f",
"name": "Project #1"
},
...
]
}
Response properties
Key |
Value |
|
An array with information about projects. |
Properties of the |
|
|
Project ID. |
|
Project name. |
If the request has failed, the response message contains information about errors:
HTTP error code |
Error description |
|
One of the request parameters has an invalid value or data format. |
|
The user or app does not have rights to access the resource; the request is rejected. |
|
The requested resource is not found. |
|
Internal service error. Try resending your request later. |
|
The API service is temporarily unavailable. |
The URL of the node providing the API.
Authorization key.