Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
  • App versions
  • Applications
  • Apps
  • Assets
  • Categories
  • License types
  • Migrations
  • Privacy and Security
  • Products
  • Promotions (Removed)
  • Reporting
  • Reviews
Platform
Atlassian Marketplace / Reference / Marketplace REST API (v2)

Assets

Postman Collection
OpenAPI
GET

Get asset links

Get links to permitted asset resources.

Forge and OAuth2 apps cannot access this REST resource.

Request

This request has no parameters.

Responses

application/json

HasAssetsCollectionLinks
GET/assets
1 2 3 curl --request GET \ --url 'https://marketplace.atlassian.com/rest/2/assets' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 { "_links": { "self": { "href": "<string>", "type": "<string>", "title": "<string>" }, "artifact": { "href": "<string>", "type": "<string>", "title": "<string>" }, "fetchArtifact": { "href": "<string>", "type": "<string>", "title": "<string>" }, "imageByType": { "template": "<string>", "type": "<string>", "name": "<string>" } } }
POST

Upload app artifact

Use this resource to upload an app artifact (.jar or .obr) to Marketplace, so it can be used by an app version.

The request body is the file data.

If successful, the resource will respond with a resource link in _links.self that can be used as the artifact link when creating an app or app version. The response may include additional properties; other than fileInfo, these are used internally and should be ignored.

This resource requires authentication.

Example: This curl command uploads the artifact present in a file ('my-file.jar').

1 2 3 4 5 6 curl --request POST \ --url https://marketplace.atlassian.com/rest/2/assets/artifact \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: multipart/form-data' \ --form file=@"my-file.jar"

Forge and OAuth2 apps cannot access this REST resource.

Request

Request bodymultipart/form-data

file

string

Required

Responses

application/json

AddonArtifactAsset
POST/assets/artifact
1 2 3 4 curl --request POST \ --url 'https://marketplace.atlassian.com/rest/2/assets/artifact' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9