Apps
Get Apps
GET
https://api.appmixer.com/apps
Returns all applications (services or modules) available.
curl "https://api.appmixer.com/apps" -H "Authorization: Bearer [ACCESS_TOKEN]"
Get App Components
GET
https://api.appmixer.com/apps/components
Returns all components of an app including their manifest files.
curl "https://api.appmixer.com/apps/components?app=appmixer.dropbox" -H "Authorization: Bearer [ACCESS_TOKEN]"
Path Parameters
Name | Type | Description |
---|---|---|
app | string | ID of an app as defined in |
Get All Components
GET
https://api.appmixer.com/components
Get all available components.
curl "https://api.appmixer.com/components" -H "Authorization: Bearer [ACCESS_TOKEN]"
Query Parameters
Name | Type | Description |
---|---|---|
manifest | string | If set to "yes", the endpoint returns all components including their manifest files. |
Publish A Component/Module/Service
POST
https://api.appmixer.com/components
Publish a new component, new module or an entire service or update an existing component/module/service. The uploaded entity must be zipped and must have a proper directory/file structure inside (See Basic Component Structure for more details). Note that you can use the Appmixer CLI tool to pack your component/service/module to a zip archive (appmixer pack
command). Alternatively, you can also use a regular zip command line utility but you should omit the node_modules/ directories before archiving and the root directory of the zip archive must match the vendor name. The directory hierarchy must have a well defined structure: [vendor]/[service]/[module]/[component]
.
The size limit of the zip archive is 10MB.
Publishing a new component can take more time than a lifespan of a single HTTP request. Therefore, the result of the publishing HTTP call is a JSON object with ticket
property. You can use the ticket to check for progress of the publish using the /components/uploader/:ticket
endpoint.
curl -XPOST "https://api.appmixer.com/components" -H "Authorization: Bearer [ACCESS_TOKEN]" -H "Content-type: application/octet-stream" --data-binary @appmixer.myservice.zip
Check for Publishing Progress
GET
https://api.appmixer.com/components/uploader/:ticket
Check for progress of publishing a component.
curl -XGET "https://api.appmixer.com/components/uploader/2e9dd726-2b7f-46f7-bea4-8db7f7175aa8" -H "Authorization: Bearer [ACCESS_TOKEN]" -H "Content-type: application/json"
Path Parameters
Name | Type | Description |
---|---|---|
ticket | string | Ticket that you got from the POST /component request. |
Delete a Component/Module/Service
DELETE
https://api.appmixer.com/components/:selector
Delete a component/module or an entire service.
curl -XDELETE "https://api.appmixer.com/components/appmixer.myservice" -H "Authorization: Bearer [ACCESS_TOKEN]" -H "Content-type: application/json"
Path Parameters
Name | Type | Description |
---|---|---|
selector | string | A selector that uniquely identifies the service/module/component to delete. The selector is of the form [vendor].[service].[module].[component]. For example "appmixer.google.calendar.CreateEvent" (removes just one component) or "appmixer.google.calendar" (removes the calendar module) or "appmixer.google" (removes the entire Google service including all modules and components). |
Last updated