curl --request POST \
--url https://api.openworklabs.com/v1/config-objects/{configObjectId}/plugins \
--header 'Content-Type: application/json' \
--data '
{
"pluginId": "<string>",
"membershipSource": "manual"
}
'{
"ok": true,
"item": {
"id": "<string>",
"pluginId": "<string>",
"configObjectId": "<string>",
"membershipSource": "manual",
"connectorMappingId": "<string>",
"createdByOrgMembershipId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"removedAt": "2023-11-07T05:31:56Z",
"configObject": {
"id": "<string>",
"organizationId": "<string>",
"objectType": "skill",
"sourceMode": "cloud",
"title": "<string>",
"description": "<string>",
"searchText": "<string>",
"currentFileName": "<string>",
"currentFileExtension": "<string>",
"currentRelativePath": "<string>",
"status": "active",
"createdByOrgMembershipId": "<string>",
"connectorInstanceId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"latestVersion": {
"id": "<string>",
"configObjectId": "<string>",
"schemaVersion": "<string>",
"normalizedPayloadJson": {},
"rawSourceText": "<string>",
"createdVia": "cloud",
"createdByOrgMembershipId": "<string>",
"connectorSyncEventId": "<string>",
"sourceRevisionRef": "<string>",
"isDeletedVersion": true,
"createdAt": "2023-11-07T05:31:56Z"
}
}
}
}Adds a config object to a plugin when the caller can edit the target plugin.
curl --request POST \
--url https://api.openworklabs.com/v1/config-objects/{configObjectId}/plugins \
--header 'Content-Type: application/json' \
--data '
{
"pluginId": "<string>",
"membershipSource": "manual"
}
'{
"ok": true,
"item": {
"id": "<string>",
"pluginId": "<string>",
"configObjectId": "<string>",
"membershipSource": "manual",
"connectorMappingId": "<string>",
"createdByOrgMembershipId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"removedAt": "2023-11-07T05:31:56Z",
"configObject": {
"id": "<string>",
"organizationId": "<string>",
"objectType": "skill",
"sourceMode": "cloud",
"title": "<string>",
"description": "<string>",
"searchText": "<string>",
"currentFileName": "<string>",
"currentFileExtension": "<string>",
"currentRelativePath": "<string>",
"status": "active",
"createdByOrgMembershipId": "<string>",
"connectorInstanceId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"latestVersion": {
"id": "<string>",
"configObjectId": "<string>",
"schemaVersion": "<string>",
"normalizedPayloadJson": {},
"rawSourceText": "<string>",
"createdVia": "cloud",
"createdByOrgMembershipId": "<string>",
"connectorSyncEventId": "<string>",
"sourceRevisionRef": "<string>",
"isDeletedVersion": true,
"createdAt": "2023-11-07T05:31:56Z"
}
}
}
}Den TypeID with 'cob_' prefix and a 26-character base32 suffix.
30^cob_.*Was this page helpful?