Skip to main content

GetDatastores

Get a list of datastores

Description

Obtains a list of datastores included in the specified application.

Method

GET

Request URL Format

/api/v0/applications/:project-id/datastores

URL Params

project-id    : Application ID (display_id cannot be specified. An empty array will be returned if the corresponding application is not found)

Request Sample

GET https://api.xxx.com/api/v0/applications/611be3b251eca76ebec45deb/datastores

Response Sample

A list of datastores will be returned

[
{
"datastore_id": "611e67c9720bbecb02013e64",
"name": "TODO-SAMPLE",
"display_id": "TODO-SAMPLE",
"deleted": false,
"imported": true,
"uploading": false
},
{
"datastore_id": "6121fccd27ef72f577ad28bc",
"name": "LineItems",
"display_id": "LineItems",
"deleted": false,
"imported": true,
"uploading": false
},
{
"datastore_id": "6121fe3c27ef72f577ad28dd",
"name": "TestDB",
"display_id": "TestDB",
"deleted": false,
"imported": true,
"uploading": false
},
{
"datastore_id": "61c8409709b4332db724febb",
"name": "新しいデータベース",
"display_id": "Db-RJfvpxTO",
"deleted": false,
"imported": true,
"uploading": false
}
]