/dataset
/dataset
Creates a dataset from a dataset template. Templates can be found in the "Admin => Templates" menu via the user interface at ODR.io. Known issue - template UUID is not available there. A feature request to display the template UUID has been added. Contact the ODR team for a UUID when using this endpoint until the issue is resoled.
POST a template UUID and the desired database name to create the database. If using a super-admin credential, optionally pass the email of the creating user to create a new dataset with metadata corresponding to that user. Email and user info should not be included unless usinng a super-admin credential.
This requires an "Authorization: Bearer" header with a valid API Token.
Request
This endpoint expects a multipart form.
user_email
first_name
last_name
dataset_name
template_uuid
This generates a RRUFF dataset from the RRUFF Sample template.
Response headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers
Access-Control-Expose-Headers
Access-Control-Max-Age
Cache-Control
X-Debug-Token
X-Debug-Token-Link
Keep-Alive
Response
OK
database_uuid
internal_id
record_name
record_uuid
template_uuid
metadata_for_uuid
_record_metadata
fields
records

