POST
https://api.discovertext.com/api/v1/projects/{project_id}/archives
Input: a JSON object of the archive to be created and the {id} of the project to create the archive in.
{ name: "{name_of_new_archive}" // string, required, up to 120 characters }
Return Value: An archive item
{ "id": {archive_id}, "name": "{created_archive_name}", "timestamp": "{iso timestamp when created}", "href": "{link to this item}", "links": [ { "name": "units", "href": "{link to archive units}" } ] }
Note: you must have permissions to create archives in the specified project id. If you do not, you will receive a 403 - Forbidden error.