Functional Transposit Public MC API
Add items to a activity field multi-value
The activity field's id. Find the id from either the Activity Fields page or by calling the 'list_fields_for_activity' endpoint and using the 'name' of the returned objects
Type: string
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
The desired values, as a stringified JSON array. In python, use json.dumps(arr) to get the array in the correct format.
Type: string
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Adds a related link to an activity
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Type: object
{
"text" : "Required string",
"url" : "Required string"
}
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Attaches slack channel to activity by channel ID
The slack channel id.
Type: string
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Closes an activity
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Creates a new activity.The fields that can be set for the Activity can be retrieved from the list_fields_for_activity_type
endpoint.
The Transposit team name.
Type: string
Create activity parameters. Please provide either a title or an originatingEventMetadata object. The 'fields' property will be a map of activity field ids to their desired values. Fields that can have multiple values are represented as arrays. Web link field values are objects with 'url' and 'text' properties. All other values can be sent as strings.
Type: object
{
"description" : "string",
"channelName" : "The name of the Slack channel to create and attach to this activity. This call will fail if this parameter is provided but the activity type is configured to not create Slack channels.",
"originatingEventMetadata" : {
"eventId" : "The Transposit Event ID to use as the 'originating event' of this activity.",
"alertId" : "This field is deprecated."
},
"type" : "The type of the activity. Either the UUID or the activity type name can be used.",
"title" : "The title of the activity. A title is required unless the originatingEventMetadata object is supplied.",
"fields" : "object"
}
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Subscribes to an activity. Specify the types of events to subscribe to, and the app and operation to be called when a subscribed event type occurs.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Type: object
{
"appId" : "The app that will be called when an event occurs, formatted as `orgId/app_name:tag`. e.g. `transposit/transposit_notify_jira:v1.*.*`.",
"operationName" : "The specific operation within the app that will be called when an event occurs.",
"eventTypes" : [ "string. Possible values: DASHBOARD_UPDATE | COMMANDER_UPDATE | LINK_UPDATE | SEVERITY_UPDATE" ],
"parameters" : { }
}
Unsets all values of a single field for an activity
The activity field's id. Find the id from either the Activity Fields page or by calling the 'list_fields_for_activity' endpoint and using the 'name' of the returned objects
Type: string
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Deletes the activity's commander. Note that you may also use the 'update_activity' operation and send over a 'null' for the new value.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Deletes a related link from an activity
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Type: object
{
"id" : "integer",
"url" : "string"
}
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Deletes an activity's severity, setting it to None. Note that you may also use the 'update_activity' operation and send over a 'null' for the new value.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Deletes subscription by subscription id. The subscription id can be obtained from the list_subscriptions endpoint.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
Type: uuid
The Transposit team name.
Type: string
Detaches the slack channel attached to the activity if any
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Gets the details of an activity.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Returns activity creation defaults
Returns the JSON for a single field for an activity (may be multi-value)
The activity field's id. Find the id from either the Activity Fields page or by calling the 'list_fields_for_activity' endpoint and using the 'name' of the returned objects
Type: string
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Gets the activity's commander. Note that, to retrieve multiple activity fields, you can use the 'list_fields_for_activity' operation.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Gets related links for an activity. Note that, to retrieve multiple activity fields, you can use the 'list_fields_for_activity' operation.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Get the state of a run
The id of the runbook run associated with the action. Can be accessed via the 'context' parameter. For example: context.get("runbookRunId")
Type: string
The Transposit team name.
Type: string
Gets an activity's severity. Note that, to retrieve multiple activity fields, you can use the 'list_fields_for_activity' operation.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Link a run to a stream
The id of the runbook run associated with the action. Can be accessed via the 'context' parameter. For example: context.get("runbookRunId")
Type: string
The Transposit team name.
Type: string
Type: object
{
"activityPublicId" : "integer",
"triggerId" : "integer"
}
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Lists 1000 most recent activities. Can be filtered by activity status or type
The Transposit team name.
Type: string
Type: string
Potential values: INCIDENT_OPEN, INCIDENT_CLOSED
The type of the activity. Either the UUID or the activity type name can be used.
Type: string
List activity types for a team
Gets all possible fields for an activity. This includes field types and configurations
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Gets the fields for an activity type.
The Transposit team name.
Type: string
The type of the activity. Either the UUID or the activity type name can be used.
Type: string
Lists subscriptions for an activity
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Lists updates for an activity.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Posts an update to an activity
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Type: object
{
"originatingEventMetadata" : [ {
"eventId" : "The Transposit Event ID to use as the 'originating event' of this activity.",
"alertId" : "This field is deprecated."
} ],
"eventIds" : [ "string" ],
"updateMessage" : "Required string"
}
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Remove only matching items from a activity field multi-value
The activity field's id. Find the id from either the Activity Fields page or by calling the 'list_fields_for_activity' endpoint and using the 'name' of the returned objects
Type: string
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
The desired values, as a stringified JSON array. In python, use json.dumps(arr) to get the array in the correct format.
Type: string
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Reopens an activity
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Sets the value of a single field for an activity (may be multi-value).
The activity field's id. Find the id from either the Activity Fields page or by calling the 'list_fields_for_activity' endpoint and using the 'name' of the returned objects
Type: string
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
The desired value, as a JSON string. In python, use json.dumps(str) to get the value in the correct format.
Type: string
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Sets the activity's commander. Note that, to update multiple activity fields, you can use the 'update_activity' operation.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Type: object
{
"id" : "Required string"
}
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Set the state of a run
The id of the runbook run associated with the action. Can be accessed via the 'context' parameter. For example: context.get("runbookRunId")
Type: string
The Transposit team name.
Type: string
Type: object
{
"state" : "Required string"
}
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Sets an activity's severity. Note that, to update multiple activity fields, you can use the 'update_activity' operation.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Type: object
{
"severity" : "Required string. Possible values: SEV0 | SEV1 | SEV2 | SEV3 | SEV4 | SEV5"
}
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Gets list of synced activities & sync destinations for given sync id + link id
Unlink a run from a stream
The id of the runbook run associated with the action. Can be accessed via the 'context' parameter. For example: context.get("runbookRunId")
Type: string
The Transposit team name.
Type: string
Type: object
{
"activityPublicId" : "integer",
"triggerId" : "integer"
}
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string
Updates an existing activity. The fields that can be set for the Activity can be programmatically retrieved from the list_fields_for_activity_type
endpoint.
The integer id of the activity. This can be fetched from the 'incidentId' property in the 'context' parameter.
Type: integer
The Transposit team name.
Type: string
Update activity parameters. The 'fields' property will be a map of activity field ids to their desired values. Fields that can have multiple values are represented as arrays. Web link field values are objects with 'url' and 'text' properties. All other values can be sent as strings.
Type: object
{
"description" : "string",
"title" : "string",
"fields" : "object"
}
The (optional) token to identify the 'real' caller of the Transposit API, team-authed actions. Can be accessed via the 'context' parameter. For example: context.get("sourceUser", {}).get("token").
Type: string