Forge Object Store API for storing and retrieving objects
Deletes an object from the object store.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredObject deleted successfully
1
2
3
4
5
6
7
curl --request POST \
--url '{FORGE_EGRESS_PROXY_URL}/forge/storage/os/v1/delete' \
--header 'forge-proxy-authorization: Forge as=app,id=invocation-123' \
--header 'Content-Type: application/json' \
--data '{
"key": "<string>"
}'Get the metadata for the specified object in the payload.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredMetadata retrieved successfully
1
2
3
4
5
6
7
8
curl --request POST \
--url '{FORGE_EGRESS_PROXY_URL}/forge/storage/os/v1/metadata' \
--header 'Accept: application/json' \
--header 'forge-proxy-authorization: Forge as=app,id=invocation-123' \
--header 'Content-Type: application/json' \
--data '{
"key": "<string>"
}'1
2
3
4
5
6
7
8
{
"key": "<string>",
"currentVersion": "<string>",
"checksum": "<string>",
"size": 2154,
"createdAt": "<string>",
"updatedAt": "<string>"
}Generates a pre-signed URL for uploading an object.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
Requiredinteger
Requiredstring
Requiredstring
Requiredinteger
boolean
Upload URL generated successfully
1
2
3
4
5
6
7
8
9
10
11
12
13
curl --request POST \
--url '{FORGE_EGRESS_PROXY_URL}/forge/storage/os/v1/upload-url' \
--header 'Accept: application/json' \
--header 'forge-proxy-authorization: Forge as=app,id=invocation-123' \
--header 'Content-Type: application/json' \
--data '{
"key": "<string>",
"length": 2154,
"checksum": "<string>",
"checksumType": "SHA1",
"ttlSeconds": 2154,
"overwrite": true
}'1
2
3
{
"url": "<string>"
}Generates a pre-signed URL for downloading an object.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredDownload URL generated successfully
1
2
3
4
5
6
7
8
curl --request POST \
--url '{FORGE_EGRESS_PROXY_URL}/forge/storage/os/v1/download-url' \
--header 'Accept: application/json' \
--header 'forge-proxy-authorization: Forge as=app,id=invocation-123' \
--header 'Content-Type: application/json' \
--data '{
"key": "<string>"
}'1
2
3
{
"url": "<string>"
}Rate this page: