Write permission on the target repository. Once created, upload data to the dataset using PUT /datasets/{id}/data.
Authentication
Authenticate using HTTP Basic Auth. Pass your API key as the username and leave the password empty. You must haveWrite permission on the target repository.
Request
Method:POSTURL:
https://api.alphacast.io/datasets
Body parameters
string
required
The display name for the new dataset. Must be a non-empty string.
integer
required
The numeric ID of the repository in which to create the dataset. You must have
Write permission on this repository.string
A human-readable description of the dataset’s contents, intended audience, or methodology.
string
The URL of the original data source, for provenance tracking.
string
The name of the organization or publication that originally produced this data.
Response
Returns201 Created with the newly created dataset object.
integer
The numeric ID assigned to the new dataset. Use this in all subsequent requests.
string
The name you provided.
integer
The repository the dataset was created in.
string
The description you provided, or
null if omitted.string
The source name you provided, or
null if omitted.string
The source URL you provided, or
null if omitted.string
Your permission level on the new dataset. Will be
Admin for datasets you create.