--urlfor the base API URL, defaulting tohttp://localhost/api--sessionfor theX-ArchivesSpace-Sessionheader--query name=valuefor repeated query parameters--dataor--filefor JSON request bodies on arbitrary requests
api request when you need a path that does not have a named shortcut:
Reference
api login
Log in to ArchivesSpace and print the session response
| Flag | Default | Description |
|---|---|---|
--password | ArchivesSpace password. Defaults to ARCHIVESSPACE_PASSWORD. | |
--url | http://localhost/api | Base ArchivesSpace API URL. |
--username | admin | ArchivesSpace username. |
api request
Call an arbitrary ArchivesSpace API path
| Flag | Default | Description |
|---|---|---|
--data | JSON request body. | |
--file | Path to a JSON request body file. | |
-q, --query | [] | Additional query parameter as name=value. May be repeated. |
--session | ArchivesSpace session token for X-ArchivesSpace-Session. | |
--url | http://localhost/api | Base ArchivesSpace API URL. |

