Skip to content
Go to Micro

API Reference

Libraries

npm install @micro-so/sdk
pip install micro_so
go get -u 'github.com/micro-so/micro-sdk-go@v0.5.0'

API Overview

Prism

PrismProperties

Get metadata properties by object type
GET/v2/prism/{teamId}/{objectType}/properties
Get metadata properties
GET/v2/prism/{teamId}/properties

PrismImports

Get the status of an import job
GET/v2/prism/{teamId}/imports/{jobId}

PrismObjects

PrismObjectsContacts

Create object
POST/v2/prism/{teamId}/contact
List records of an object type
GET/v2/prism/{teamId}/contact
Get object
GET/v2/prism/{teamId}/contact/{contactId}
Patch object
PATCH/v2/prism/{teamId}/contact/{contactId}
Delete object
DELETE/v2/prism/{teamId}/contact/{contactId}
Query
POST/v2/prism/{teamId}/contact/query
Total record count for an object type
GET/v2/prism/{teamId}/contact/count
Find a record by property value
GET/v2/prism/{teamId}/contact/by/{slug}/{value}
Upsert by property value
PUT/v2/prism/{teamId}/contact/by/{slug}/{value}
Import objects
POST/v2/prism/{teamId}/contact/import
Bulk update records (partial success)
POST/v2/prism/{teamId}/contact/batch/update
Bulk delete records (partial success)
POST/v2/prism/{teamId}/contact/batch/delete
Duplicate object
POST/v2/prism/{teamId}/contact/{contactId}/duplicate
Restore object
POST/v2/prism/{teamId}/contact/{contactId}/restore

PrismObjectsOrganizations

Create object
POST/v2/prism/{teamId}/organization
List records of an object type
GET/v2/prism/{teamId}/organization
Get object
GET/v2/prism/{teamId}/organization/{organizationId}
Patch object
PATCH/v2/prism/{teamId}/organization/{organizationId}
Delete object
DELETE/v2/prism/{teamId}/organization/{organizationId}
Query
POST/v2/prism/{teamId}/organization/query
Total record count for an object type
GET/v2/prism/{teamId}/organization/count
Find a record by property value
GET/v2/prism/{teamId}/organization/by/{slug}/{value}
Upsert by property value
PUT/v2/prism/{teamId}/organization/by/{slug}/{value}
Import objects
POST/v2/prism/{teamId}/organization/import
Bulk update records (partial success)
POST/v2/prism/{teamId}/organization/batch/update
Bulk delete records (partial success)
POST/v2/prism/{teamId}/organization/batch/delete
Duplicate object
POST/v2/prism/{teamId}/organization/{organizationId}/duplicate
Restore object
POST/v2/prism/{teamId}/organization/{organizationId}/restore

PrismObjectsIdentities

Create object
POST/v2/prism/{teamId}/identity
List records of an object type
GET/v2/prism/{teamId}/identity
Get object
GET/v2/prism/{teamId}/identity/{identityId}
Patch object
PATCH/v2/prism/{teamId}/identity/{identityId}
Delete object
DELETE/v2/prism/{teamId}/identity/{identityId}
Query
POST/v2/prism/{teamId}/identity/query
Total record count for an object type
GET/v2/prism/{teamId}/identity/count
Find a record by property value
GET/v2/prism/{teamId}/identity/by/{slug}/{value}
Upsert by property value
PUT/v2/prism/{teamId}/identity/by/{slug}/{value}
Import objects
POST/v2/prism/{teamId}/identity/import
Bulk update records (partial success)
POST/v2/prism/{teamId}/identity/batch/update
Bulk delete records (partial success)
POST/v2/prism/{teamId}/identity/batch/delete
Duplicate object
POST/v2/prism/{teamId}/identity/{identityId}/duplicate
Restore object
POST/v2/prism/{teamId}/identity/{identityId}/restore

PrismObjectsDeals

Create object
POST/v2/prism/{teamId}/deal
List records of an object type
GET/v2/prism/{teamId}/deal
Get object
GET/v2/prism/{teamId}/deal/{dealId}
Patch object
PATCH/v2/prism/{teamId}/deal/{dealId}
Delete object
DELETE/v2/prism/{teamId}/deal/{dealId}
Query
POST/v2/prism/{teamId}/deal/query
Total record count for an object type
GET/v2/prism/{teamId}/deal/count
Find a record by property value
GET/v2/prism/{teamId}/deal/by/{slug}/{value}
Upsert by property value
PUT/v2/prism/{teamId}/deal/by/{slug}/{value}
Import objects
POST/v2/prism/{teamId}/deal/import
Bulk update records (partial success)
POST/v2/prism/{teamId}/deal/batch/update
Bulk delete records (partial success)
POST/v2/prism/{teamId}/deal/batch/delete
Duplicate object
POST/v2/prism/{teamId}/deal/{dealId}/duplicate
Restore object
POST/v2/prism/{teamId}/deal/{dealId}/restore

PrismObjectsDealsGrant

Get grant
GET/v2/prism/{teamId}/deal/{dealId}/grant
Update grant
PUT/v2/prism/{teamId}/deal/{dealId}/grant

PrismObjectsActions

Create object
POST/v2/prism/{teamId}/action
List records of an object type
GET/v2/prism/{teamId}/action
Get object
GET/v2/prism/{teamId}/action/{actionId}
Patch object
PATCH/v2/prism/{teamId}/action/{actionId}
Delete object
DELETE/v2/prism/{teamId}/action/{actionId}
Query
POST/v2/prism/{teamId}/action/query
Total record count for an object type
GET/v2/prism/{teamId}/action/count
Find a record by property value
GET/v2/prism/{teamId}/action/by/{slug}/{value}
Upsert by property value
PUT/v2/prism/{teamId}/action/by/{slug}/{value}
Import objects
POST/v2/prism/{teamId}/action/import
Bulk update records (partial success)
POST/v2/prism/{teamId}/action/batch/update
Bulk delete records (partial success)
POST/v2/prism/{teamId}/action/batch/delete
Duplicate object
POST/v2/prism/{teamId}/action/{actionId}/duplicate
Restore object
POST/v2/prism/{teamId}/action/{actionId}/restore

PrismObjectsActionsGrant

Get grant
GET/v2/prism/{teamId}/action/{actionId}/grant
Update grant
PUT/v2/prism/{teamId}/action/{actionId}/grant

PrismObjectsDocuments

Create object
POST/v2/prism/{teamId}/document
List records of an object type
GET/v2/prism/{teamId}/document
Get object
GET/v2/prism/{teamId}/document/{documentId}
Patch object
PATCH/v2/prism/{teamId}/document/{documentId}
Delete object
DELETE/v2/prism/{teamId}/document/{documentId}
Query
POST/v2/prism/{teamId}/document/query
Total record count for an object type
GET/v2/prism/{teamId}/document/count
Find a record by property value
GET/v2/prism/{teamId}/document/by/{slug}/{value}
Upsert by property value
PUT/v2/prism/{teamId}/document/by/{slug}/{value}
Import objects
POST/v2/prism/{teamId}/document/import
Bulk update records (partial success)
POST/v2/prism/{teamId}/document/batch/update
Bulk delete records (partial success)
POST/v2/prism/{teamId}/document/batch/delete
Duplicate object
POST/v2/prism/{teamId}/document/{documentId}/duplicate
Restore object
POST/v2/prism/{teamId}/document/{documentId}/restore

PrismObjectsDocumentsGrant

Get grant
GET/v2/prism/{teamId}/document/{documentId}/grant
Update grant
PUT/v2/prism/{teamId}/document/{documentId}/grant

PrismObjectsEvents

List records of an object type
GET/v2/prism/{teamId}/event
Get object
GET/v2/prism/{teamId}/event/{eventId}
Query
POST/v2/prism/{teamId}/event/query
Total record count for an object type
GET/v2/prism/{teamId}/event/count
Find a record by property value
GET/v2/prism/{teamId}/event/by/{slug}/{value}

PrismObjectsEventsGrant

Get grant
GET/v2/prism/{teamId}/event/{eventId}/grant
Update grant
PUT/v2/prism/{teamId}/event/{eventId}/grant

Views

Create a view bundle (view + select/filter/sort)
POST/v2/prism/{teamId}/{viewObjectType}/views
Read a view bundle
GET/v2/prism/{teamId}/{viewObjectType}/views/{viewId}
Delete a view bundle
DELETE/v2/prism/{teamId}/{viewObjectType}/views/{viewId}

ViewsRecords

Bulk reorder pinned records
PATCH/v2/prism/{teamId}/{viewObjectType}/views/{viewId}/records
Pin a record to the view (append to record_order)
POST/v2/prism/{teamId}/{viewObjectType}/views/{viewId}/records/{objectId}
Unpin a record from the view
DELETE/v2/prism/{teamId}/{viewObjectType}/views/{viewId}/records/{objectId}