Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Extensions API

The Extensions API is a REST API used by the Marketplace Platform to manage extensions and everything around them. It lets you:

  • Create, read, update, delete, review, publish and unpublish extensions.
  • Create and maintain categories, then link extensions to them.
  • Manage the documentation for the extension, including publish/unpublish documentation.
  • Upload and manage images and videos.
  • Manage terms and conditions and their variants.
  • Track installations.

Before you start

Review the shared API docs before you work with audit resources.

Core resources

The Extensions API is built around the following core resources:

  • Category – Enables the operator to add, view, or delete the category object.
  • Document – Allows uploading supplementary documentation to an extension, either via a file upload or an online link.
  • Extension – Represents a set of requirements (parameters) that vendors ask their clients to meet.
  • Media – Allows vendors to add, view, and delete media associated with an extension.
  • Terms – Represents a collection of documents associated with an extension, including uploaded PDF or DOCX files or links to externally hosted documents.
  • Variant – Represents a specific version of terms for an extension, provided as an uploaded PDF or DOCX file or a link to an externally hosted document.
  • Instance – Represents a running instance in the database, such as a Kubernetes pod, with its current status, for example, running.
  • Installation – Allows an operator to add, view, and delete installations.
  • Invitation – Allows a vendor to create and send an invitation.

Browse collections

The API is organized into collections, each containing a set of operations. Access to these operations varies by role, depending on whether you are a client, vendor, or operations user.

Use the following links to jump to the collection you need:

Extension

View Extension operations
OperationMethodDescriptionAccess
Create extensionPOSTCreates a new extension.vendor
List extensionsGETFetches a list of extensions.vendor, client, ops
Get extension by idGETGets an extension by id.vendor, client, ops
Update extensionPUTUpdates some properties of an extension.vendor, ops
Delete extensionDELETEDeletes an extension.vendor, ops
Publish extensionPOSTPublishes an extension.ops
Unpublish extensionPOSTUnpublishes an extension.vendor, ops

Categories

View Categories operations
OperationMethodDescriptionAccess
Create categoryPOSTCreates a new category.ops
Get categoriesGETFetches a list of categories.vendor, client, ops
Get category by idGETGets a category by id.vendor, client, ops
Update categoryPUTUpdates some properties of a category.ops
Activate categoryPOSTActivates a category.ops
Deactivate categoryPOSTDeactivates a category.ops

Documents

View Documents operations
Operation Method Description Access
Create document POST Creates a new document in extension management. vendor
List documents GET Lists all documents based on filter criteria. vendor, client, ops
Get document by id GET Gets a document by id. vendor, client, ops
Update document PUT Updates a document. vendor
Delete document DELETE Deletes a document. vendor
Publish document POST Publishes a document. vendor
Unpublish document POST Unpublishes a document. vendor

Media

View Media operations
OperationMethodDescriptionAccess
Create mediaPOSTCreates new media for an extension.vendor
List mediaGETGets a list of media for an extension.vendor, client, ops
Get media by idGETGets an item of media for an extension.vendor, client, ops
Update mediaPUTUpdates an item of media for an extension.vendor
Publish mediaPOSTPublishes an item of media for an extension.vendor
Unpublish mediaPOSTUnpublishes an item of media for an extension.vendor
Delete mediaDELETEDeletes an item of media for an extension.vendor

Installation

View Installation operations
OperationMethodDescriptionAccess
Create installation or invitationPOSTCreates a new installation or invitation.vendor, client, ops
Update installationPUTUpdates the configuration of an installation.vendor-owner
List installationsGETGets a list of installations.vendor, client, ops
Get installation by idGETGets an installation by id.vendor, client, ops
Delete installationDELETEDeletes an installation.vendor, ops
List installations for extensionGETGets a list of installations for an extension.vendor, client, ops
Get installation for extension by idGETGets an installation for an extension by id.vendor, client, ops
Redeem invitationPOSTCreates a redeemed invitation.client, vendor, ops

Instance

View Instance operations
Operation Method Description Access
Create extension instance POST Creates an instance for an extension. vendor-owner
List extension instances GET Gets a list of instances for an extension. vendor, ops
Get extension instance by id GET Gets an instance for an extension by id. vendor, ops

Terms

View Terms operations
Operation Method Description Access
Create terms POST Creates terms for an extension. vendor
List terms GET Gets a list of all terms for an extension. vendor, client, ops
Get terms by id GET Gets terms for an extension by id. vendor, client, ops
Update terms PUT Updates terms for an extension. vendor
Delete terms DELETE Deletes terms for an extension. vendor
Mark terms for review POST Marks terms for an extension for review. vendor
Publish terms POST Publishes terms for an extension. vendor
Unpublish terms POST Unpublishes terms for an extension. vendor

Variants

View Variants operations
Operation Method Description Access
Create variant POST Creates a variant for terms. vendor
List variants GET Gets a list of all variants for terms. vendor, client, ops
Get variant by id GET Gets a variant for terms by id. vendor, client, ops
Update variant PUT Updates a variant for terms for an extension. vendor
Delete variant DELETE Deletes a variant for terms. vendor
Mark variant for review POST Marks a variant for terms for review. vendor
Publish variant POST Publishes a variant for terms. vendor
Unpublish variant POST Unpublishes a variant for terms. vendor