Plugin

Create a plugin graph node

Changed on
post/v1/plugins/{pluginId}/graph/nodes

Request

  • Base URL: https://example.com/api
  • URL: https://example.com/api/v1/plugins/{pluginId}/graph/nodes
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token; password, token URL /oauth/token, scopes: plugin)

Request body

kindstring required
parent_idstring required
parent_type'Assignment' | 'Attachment' | 'Comment' | 'Document' | 'Issue' | 'IssueRelation' | 'Label' | 'Namespace' | 'Notification' | 'Organization' | 'Permission' | 'Project' | 'ResourceType' | 'Role' | 'Team' | 'Todo' | 'User' | 'UserToken' | 'Folder' | 'Installation' | 'CustomFieldDefinition' | 'Extension' required
propertiesobject

Example request

{
  "kind": "TimeEntry",
  "parent_id": "9bsv0s46s6s002p9ltq0",
  "relation": {
    "kind": "LOGGED_ON"
  }
}

Response

Created

idstring required
plugin_idstring required
kindstring required
propertiesobject required
parent_idstring nullable

Direct IN_SCOPE_OF parent id.

parent_type'Assignment' | 'Attachment' | 'Comment' | 'Document' | 'Issue' | 'IssueRelation' | 'Label' | 'Namespace' | 'Notification' | 'Organization' | 'Permission' | 'Project' | 'ResourceType' | 'Role' | 'Team' | 'Todo' | 'User' | 'UserToken' | 'Folder' | 'Installation' | 'CustomFieldDefinition' | 'Extension'
created_atstring date-time nullable
updated_atstring date-time nullable

Example response

{
  "id": "9bsv0s46s6s002p9ltq0",
  "plugin_id": "com.elemo.timetracking",
  "kind": "TimeEntry"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added