post https://data.lucid.app/collections
Creates a new collection for the specified data source. Only succeeds if the user has access to the data source.
Response
Creates a new collection for the specified data source. Only succeeds if the user has access to the data source.
xxxxxxxxxx
curl --request POST \
--url https://data.lucid.app/collections \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
13{
"uri": "https://data.lucid.app/collections/3",
"dataSource": "https://data.lucid.app/dataSources/1",
"name": "Collection 1",
"lastSync": "2021-01-01T00:00:00Z",
"versionTimestamp": "2021-01-01T00:00:00Z",
"created": "2021-01-01T00:00:00Z",
"lastModified": "2021-01-01T00:00:00Z",
"items": "https://data.lucid.app/collections/3/items",
"schema": "https://data.lucid.app/collections/3/schema",
"properties": "https://data.lucid.app/collections/3/properties",
"metadata": "https://data.lucid.app/collections/3/metadata"
}