Download OpenAPI specification:Download
This is the Globus Actions API description. Implementation of this API renders a service compatible for use in the Globus Automate service.
Introspect the Action Provider for invocation, authorization, administrative and other information. Depending on the Action Provider configuration, this endpoint may allow unauthenticated access.
{- "types": [
- "Action"
], - "api_version": "1.0",
- "title": "string",
- "subtitle": "string",
- "description": "string",
- "keywords": [
- "string"
], - "visible_to": [
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "runnable_by": [
- "all_authenticated_users"
], - "administered_by": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "admin_contact": "string",
- "synchronous": true,
- "log_supported": true,
- "maximum_deadline": "string",
- "input_schema": { },
- "event_types": [
- "STARTED"
]
}
Trigger an Action execution.
request_id required | string A unique identifier representing the request to start an action. Multiple uses of the same request_id must have the same content or they will be rejected. Only one instance of the operation will be executed, so requests with the same request_id may be repeated to attempt to guarantee execution of an action. |
body required | object The action-provider specific content describing the action to run. Format for the body may be provided in the input_schema field of the Action Provider Description. |
label | string [ 1 .. 64 ] characters A short human presentable description of the Action requested. |
monitor_by | Array of strings (PrincipalURN) unique [^urn:globus:(auth:identity|groups:id):([a-fA-...] A list of principal URNs containing identities which are allowed to monitor the progress of the action using the /status and /log operations. When not provided, defaults to the user that initiated the action. |
manage_by | Array of strings (PrincipalURN) unique [^urn:globus:(auth:identity|groups:id):([a-fA-...] A list of principal URN containing identities which are allowed to manage the progress of the action using the /cancel and /release operations. When not provided, defaults to the user that initiated the action. |
allowed_clients | Array of strings (AllowedClients) [^(public|globus|creator|.$)$] |
deadline | string <date-time> A timestamp indicating by which time the action must complete. The request may be rejected if the Action Provider does not expect to be able to complete the action before the deadline or if it represents a time greater than the maximum_deadline specified in the Provider Description. |
release_after | string (ISO8601_duration) ^P(?!$)(\d+(?:\.\d+)?Y)?(\d+(?:\.\d+)?M)?(\d+... ISO8601 duration format. Regex sourced from https://stackoverflow.com/a/32045167/845210. |
{- "request_id": "string",
- "body": { },
- "label": "string",
- "monitor_by": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "manage_by": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "allowed_clients": [
- "string"
], - "deadline": "2019-08-24T14:15:22Z",
- "release_after": "string"
}
{- "action_id": "6529",
- "status": "ACTIVE",
- "creator_id": "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57",
- "details": {
- "estimated_complete": "2019-06-21T17:15:04.805868+00:00"
}, - "manage_by": [
- "urn:globus:auth:identity:ca73e829-715f-4522-9dec-a507fe57a661",
- "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57"
], - "monitor_by": [
- "urn:globus:auth:identity:ca73e829-715f-4522-9dec-a507fe57a661",
- "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57"
], - "release_after": "P30D",
- "start_time": "2019-06-21T17:01:55.806781+00:00"
}
Get the status for a previously executed Action.
action_id required | string The ID for the Action for which to check the status. |
{- "action_id": "6529",
- "status": "ACTIVE",
- "creator_id": "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57",
- "details": {
- "estimated_complete": "2019-06-21T17:15:04.805868+00:00"
}, - "manage_by": [
- "urn:globus:auth:identity:ca73e829-715f-4522-9dec-a507fe57a661",
- "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57"
], - "monitor_by": [
- "urn:globus:auth:identity:ca73e829-715f-4522-9dec-a507fe57a661",
- "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57"
], - "release_after": "P30D",
- "start_time": "2019-06-21T17:01:55.806781+00:00"
}
Cancel a running Action.
action_id required | string The ID for the Action that will be cancelled. |
{- "action_id": "6529",
- "status": "ACTIVE",
- "creator_id": "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57",
- "details": {
- "estimated_complete": "2019-06-21T17:15:04.805868+00:00"
}, - "manage_by": [
- "urn:globus:auth:identity:ca73e829-715f-4522-9dec-a507fe57a661",
- "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57"
], - "monitor_by": [
- "urn:globus:auth:identity:ca73e829-715f-4522-9dec-a507fe57a661",
- "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57"
], - "release_after": "P30D",
- "start_time": "2019-06-21T17:01:55.806781+00:00"
}
Remove the action's state from the Action Provider's execution store.
action_id required | string The ID for the Action that will be removed from the Action Provider's execution history. |
{- "action_id": "6529",
- "status": "ACTIVE",
- "creator_id": "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57",
- "details": {
- "estimated_complete": "2019-06-21T17:15:04.805868+00:00"
}, - "manage_by": [
- "urn:globus:auth:identity:ca73e829-715f-4522-9dec-a507fe57a661",
- "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57"
], - "monitor_by": [
- "urn:globus:auth:identity:ca73e829-715f-4522-9dec-a507fe57a661",
- "urn:globus:auth:identity:ae2a1750-d274-11e5-b867-e74762c29f57"
], - "release_after": "P30D",
- "start_time": "2019-06-21T17:01:55.806781+00:00"
}