Artifacts API¶
List, download, publish, and restore artifacts. See Artifacts.
Paths are relative to https://<your-atlas-host>/api/v1. For the API key and headers every
request needs, see Authentication.
Endpoint |
What it does |
|---|---|
List artifacts in the workspace |
|
Get an artifact by ID |
|
Delete an artifact |
|
Raw stored bytes for an artifact (JSON wrapper for presentations) |
|
Make an artifact public, or restart an already-public link’s lifetime |
|
Take an artifact’s public link down |
|
List an artifact’s saved versions |
|
Restore an earlier version of an artifact |
List artifacts¶
GET /artifacts/
List artifacts in the workspace.
Parameters
Name |
In |
Type |
Description |
|---|---|---|---|
|
query |
string |
|
|
query |
|
Sharing state: |
|
query |
string |
Case-insensitive search on the title. |
|
query |
string |
|
|
query |
integer |
|
|
query |
integer |
Response A list of objects:
Field |
Type |
Description |
|---|---|---|
|
UUID |
|
|
string |
|
|
string |
|
|
string |
|
|
integer |
|
|
integer |
|
|
object |
|
|
|
|
|
string |
The secret part of the public link. |
|
datetime |
|
|
datetime |
When the public link expires; |
|
string |
|
|
UUID |
|
|
integer |
People with a pending or accepted invitation. |
|
UUID |
|
|
string |
|
|
UUID |
|
|
string |
|
|
datetime |
|
|
datetime |
Get artifact¶
GET /artifacts/{artifact_id}
Get an artifact by ID.
Parameters
Name |
In |
Type |
Required |
|---|---|---|---|
|
path |
UUID |
Yes |
Response
Field |
Type |
Description |
|---|---|---|
|
UUID |
|
|
string |
|
|
string |
|
|
string |
|
|
integer |
|
|
integer |
|
|
object |
|
|
|
|
|
string |
The secret part of the public link. |
|
datetime |
|
|
datetime |
When the public link expires; |
|
string |
|
|
UUID |
|
|
integer |
People with a pending or accepted invitation. |
|
UUID |
|
|
string |
|
|
UUID |
|
|
string |
|
|
datetime |
|
|
datetime |
Delete artifact¶
DELETE /artifacts/{artifact_id}
Delete an artifact.
Parameters
Name |
In |
Type |
Required |
|---|---|---|---|
|
path |
UUID |
Yes |
Response
The raw file content.
Download artifact¶
GET /artifacts/{artifact_id}/download
Raw stored bytes for an artifact (JSON wrapper for presentations).
Parameters
Name |
In |
Type |
Required |
|---|---|---|---|
|
path |
UUID |
Yes |
Response
The raw file content.
Publish artifact¶
POST /artifacts/{artifact_id}/publish
Make an artifact public, or restart an already-public link’s lifetime.
Parameters
Name |
In |
Type |
Required |
|---|---|---|---|
|
path |
UUID |
Yes |
Request body
Field |
Type |
Description |
|---|---|---|
|
integer |
Days until the public link expires; defaults to 30. Publishing again restarts the countdown. |
Response
Field |
Type |
Description |
|---|---|---|
|
UUID |
|
|
string |
|
|
string |
|
|
string |
|
|
integer |
|
|
integer |
|
|
object |
|
|
|
|
|
string |
The secret part of the public link. |
|
datetime |
|
|
datetime |
When the public link expires; |
|
string |
|
|
UUID |
|
|
integer |
People with a pending or accepted invitation. |
|
UUID |
|
|
string |
|
|
UUID |
|
|
string |
|
|
datetime |
|
|
datetime |
Unpublish artifact¶
POST /artifacts/{artifact_id}/unpublish
Take an artifact’s public link down.
Parameters
Name |
In |
Type |
Required |
|---|---|---|---|
|
path |
UUID |
Yes |
Response
Field |
Type |
Description |
|---|---|---|
|
UUID |
|
|
string |
|
|
string |
|
|
string |
|
|
integer |
|
|
integer |
|
|
object |
|
|
|
|
|
string |
The secret part of the public link. |
|
datetime |
|
|
datetime |
When the public link expires; |
|
string |
|
|
UUID |
|
|
integer |
People with a pending or accepted invitation. |
|
UUID |
|
|
string |
|
|
UUID |
|
|
string |
|
|
datetime |
|
|
datetime |
List artifact versions¶
GET /artifacts/{artifact_id}/versions
List an artifact’s saved versions.
Parameters
Name |
In |
Type |
Required |
|---|---|---|---|
|
path |
UUID |
Yes |
Response
The raw file content.
Restore artifact version¶
POST /artifacts/{artifact_id}/versions/{version}/restore
Restore an earlier version of an artifact.
Parameters
Name |
In |
Type |
Required |
|---|---|---|---|
|
path |
UUID |
Yes |
|
path |
integer |
Yes |
Response
Field |
Type |
Description |
|---|---|---|
|
UUID |
|
|
string |
|
|
string |
|
|
string |
|
|
integer |
|
|
integer |
|
|
object |
|
|
|
|
|
string |
The secret part of the public link. |
|
datetime |
|
|
datetime |
When the public link expires; |
|
string |
|
|
UUID |
|
|
integer |
People with a pending or accepted invitation. |
|
UUID |
|
|
string |
|
|
UUID |
|
|
string |
|
|
datetime |
|
|
datetime |
What’s next?¶
API overview: authentication, worked examples, and error handling
Webhooks: get events pushed to your systems instead of polling
Service accounts: create the key an integration uses