Download OpenAPI specification:Download
Documentation for Layer5 Cloud REST APIs
Get available capabilities for logged in user
os | string user's os |
playground | string Is playground mode |
{- "provider_type": "string",
- "package_version": "string",
- "package_url": "string",
- "provider_name": "string",
- "provider_description": [
- "string"
], - "extensions": {
- "navigator": [
- {
- "title": "string",
- "on_click_callback": 0,
- "component": "string",
- "icon": "string",
- "link": "string",
- "show": true,
- "isBeta": true,
- "type": "string",
- "allowedTo": { }
}
], - "user_prefs": [
- {
- "component": "string",
- "type": "string"
}
], - "graphql": [
- {
- "component": "string",
- "path": "string",
- "type": "string"
}
], - "account": [
- {
- "title": "string",
- "on_click_callback": 0,
- "component": "string",
- "link": "string",
- "show": true,
- "type": "string"
}
], - "collaborator": [
- {
- "component": "string",
- "type": "string"
}
]
}, - "capabilities": {
- "feature": "string",
- "endpoint": "string"
}, - "restrictedAccess": {
- "isMesheryUIRestricted": true,
- "allowedComponents": {
- "navigator": { },
- "header": { }
}
}
}
Get available capabilities for logged in user
meshery-version required | string meshery version |
os | string user's os |
playground | string Is playground mode |
{- "provider_type": "string",
- "package_version": "string",
- "package_url": "string",
- "provider_name": "string",
- "provider_description": [
- "string"
], - "extensions": {
- "navigator": [
- {
- "title": "string",
- "on_click_callback": 0,
- "component": "string",
- "icon": "string",
- "link": "string",
- "show": true,
- "isBeta": true,
- "type": "string",
- "allowedTo": { }
}
], - "user_prefs": [
- {
- "component": "string",
- "type": "string"
}
], - "graphql": [
- {
- "component": "string",
- "path": "string",
- "type": "string"
}
], - "account": [
- {
- "title": "string",
- "on_click_callback": 0,
- "component": "string",
- "link": "string",
- "show": true,
- "type": "string"
}
], - "collaborator": [
- {
- "component": "string",
- "type": "string"
}
]
}, - "capabilities": {
- "feature": "string",
- "endpoint": "string"
}, - "restrictedAccess": {
- "isMesheryUIRestricted": true,
- "allowedComponents": {
- "navigator": { },
- "header": { }
}
}
}
Get catalog content by type
type required | string (catalogContentType) Enum: "pattern" "filter" Catalog content type |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
type | string Filter catalog data based on type of content e.g (deployment, workloads, scaling...) multiple params can be passed |
technology | string Filter catalog data based on technology(compatibility) of content e.g (kubernetes, istio...) multiple params can be passed |
metrics | string Include metrics associated with the designs. |
class | string Filter catalog items based on their support class. Specify one or more classes per request as needed. Example: 'official' and 'verified' |
userid | string Filter catalog items by user ID. Pass multiple user IDs to fetch content for several users simultaneously. |
orgID required | string User's organization ID |
workspaceid required | string <uuid> (id) Workspace ID |
trim | string trim and show only necessary values |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "filters": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "filter_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "config": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Sets the visibility of catalog content to published and sets CatalogData (if called by ADMIN or CURATOR), otherwise it pushes the request to CatalogRequests Table
type required | string (catalogContentType) Enum: "pattern" "filter" Catalog content type |
Body for publishing catalog
id | string <uuid> (id) | ||
catalog_type | string (catalogContentType) Enum: "pattern" "filter" Catalog type (pattern / filter) | ||
object (map_object) | |||
|
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_type": "pattern",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content_id": "713e4c61-5a69-43fb-a600-2e2699462e14",
- "content_name": "string",
- "content_type": "pattern",
- "first_name": "string",
- "last_name": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "email": "user@example.com",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Sets the visibility of catalog content to private and removes the content from website (if called by ADMIN or CURATOR), otherwise rejects the request
type required | string (catalogContentType) Enum: "pattern" "filter" Catalog content type |
Body for publishing catalog
id | string <uuid> (id) | ||
catalog_type | string (catalogContentType) Enum: "pattern" "filter" Catalog type (pattern / filter) | ||
object (map_object) | |||
|
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_type": "pattern",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content_id": "713e4c61-5a69-43fb-a600-2e2699462e14",
- "content_name": "string",
- "content_type": "pattern",
- "first_name": "string",
- "last_name": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "email": "user@example.com",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Approve Catalog Request
Body for publishing catalog
id | string <uuid> (id) | ||
catalog_type | string (catalogContentType) Enum: "pattern" "filter" Catalog type (pattern / filter) | ||
object (map_object) | |||
|
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_type": "pattern",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}
}
Deny Catalog Request
Body for publishing catalog
id | string <uuid> (id) | ||
catalog_type | string (catalogContentType) Enum: "pattern" "filter" Catalog type (pattern / filter) | ||
object (map_object) | |||
|
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_type": "pattern",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}
}
Get all catalog requests (approved, denied or pending) in a paginated manner
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
object Filter for catalog requests |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "catalogRequests": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content_id": "713e4c61-5a69-43fb-a600-2e2699462e14",
- "content_name": "string",
- "content_type": "pattern",
- "first_name": "string",
- "last_name": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "email": "user@example.com",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
It will insert the pattern resource if not present else it will update the matching entry
Body for upserting meshery pattern resource
id | string <uuid> (id) |
user_id | string <uuid> (id) |
name | string (text) Name |
namepace | string (text) Namespace |
type | string (text) Type |
oam_type | string (text) OAM type |
deleted | boolean |
created_at | string <date-time> (time) |
updated_at | string <date-time> (time) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "name": "string",
- "namepace": "string",
- "type": "string",
- "oam_type": "string",
- "deleted": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "name": "string",
- "namepace": "string",
- "type": "string",
- "oam_type": "string",
- "deleted": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get paginated pattern resources
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
namespace | string Namespace |
type | string Type |
oamType | string OAM type |
name | string Name of the resource |
workspaceid required | string <uuid> (id) Name |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "resources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "name": "string",
- "namepace": "string",
- "type": "string",
- "oam_type": "string",
- "deleted": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Get Pattern Resource By ID
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "name": "string",
- "namepace": "string",
- "type": "string",
- "oam_type": "string",
- "deleted": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Delete pattern resource associated with id
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "name": "string",
- "namepace": "string",
- "type": "string",
- "oam_type": "string",
- "deleted": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
It will insert the pattern if not present else it will update the matching entry
Body for upserting meshery pattern
url | string (text) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
path | string (text) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
save | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object (mesheryPattern) | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
{- "url": "string",
- "path": "string",
- "save": true,
- "pattern_data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "pattern_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "pattern_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Get paginated patterns
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
visibility | string Get responses based on visibility - private, public or published |
metrics | string Include metrics associated with the designs. |
orgID required | string User's organization ID |
workspaceid required | string <uuid> (id) Workspace ID |
trim | string trim and show only necessary values |
user_id | string UUID of User. Pass user_id for fetching public and published designs |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "patterns": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "pattern_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Delete patterns with the provided ids
Body for pattern delete request
Array of objects (deletePatternModel) | |||||
Array
|
{- "patterns": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "pattern_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get pattern by ID
id required | string <uuid> (id) Unique identifier |
metrics | string Include metrics associated with the designs. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "pattern_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Delete pattern associated with ID
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "pattern_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
It will insert the filter if not present else it will update the matching entry
Body for upserting meshery filter
url | string (text) | ||||||||||||||||||||||||||||
path | string (text) | ||||||||||||||||||||||||||||
save | boolean | ||||||||||||||||||||||||||||
object (mesheryFilter) | |||||||||||||||||||||||||||||
|
{- "url": "string",
- "path": "string",
- "save": true,
- "filter_data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "filter_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "config": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "filter_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "config": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Get paginated filters
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
visibility | string Get responses based on visibility - private, public or published |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "filters": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "filter_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "config": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Get filter by ID
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "filter_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "config": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Delete filter associated with ID
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "filter_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "config": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
It will insert the application if not present else it will update the matching entry
Body for upserting meshery application
url | string (text) | ||||||||||||||||||||||||||||||
path | string (text) | ||||||||||||||||||||||||||||||
save | boolean | ||||||||||||||||||||||||||||||
object (mesheryApplication) | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
source_type | string (text) Source type (K8s manifest, Helm chart, Docker compose) |
{- "url": "string",
- "path": "string",
- "save": true,
- "application_data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "application_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "source_type": "string"
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "application_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Get paginated applications
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "applications": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "application_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Upserts only application source content
id required | string <uuid> (id) Unique identifier |
Body for upserting meshery application source content
Source content
Get application by ID
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "application_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Delete application associated with ID
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "application_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get all user's credentials for logged in user
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "credential": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "name": "string",
- "type": "string",
- "secret": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Create new credentials for logged in user
Body for user credential
id | string <uuid> (id) | ||||
user_id | string <uuid> (id) | ||||
name | string (text) | ||||
type | string | ||||
object (map_object) | |||||
| |||||
created_at | string <date-time> (time) | ||||
updated_at | string <date-time> (time) | ||||
object (nullTime) | |||||
|
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "name": "string",
- "type": "string",
- "secret": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
Update credentials for logged in user
Body for user credential
id | string <uuid> (id) | ||||
user_id | string <uuid> (id) | ||||
name | string (text) | ||||
type | string | ||||
object (map_object) | |||||
| |||||
created_at | string <date-time> (time) | ||||
updated_at | string <date-time> (time) | ||||
object (nullTime) | |||||
|
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "name": "string",
- "type": "string",
- "secret": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
Creates a new environment
Body for creating environment
name required | string (text) Name |
description | string (text) Environment description |
OrganizationID | string <uuid> (id) Organization ID |
{- "name": "string",
- "description": "string",
- "OrganizationID": "2d34b1c1-8109-40c1-88f9-fdcfb32ea178"
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Gets all environments
search | string Get responses that match search param value |
order | string Get ordered responses |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
orgID required | string User's organization ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Gets an environment by its ID
environmentId required | string <uuid> (id) Environment ID |
orgID required | string User's organization ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Deletes an environment by its ID
environmentId required | string <uuid> (id) Environment ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Updates the environment
environmentId required | string <uuid> (id) Environment ID |
Body for creating environment
name required | string (text) Name |
description | string (text) Environment description |
OrganizationID | string <uuid> (id) Organization ID |
{- "name": "string",
- "description": "string",
- "OrganizationID": "2d34b1c1-8109-40c1-88f9-fdcfb32ea178"
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Gets connections of an environment by its ID
environmentId required | string <uuid> (id) Environment ID |
search | string Get responses that match search param value |
order | string Get ordered responses |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
object Filter for retrieving Environments |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "connections": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",
- "type": "string",
- "sub_type": "string",
- "kind": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "discovered",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "environments": {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
}
]
}
Adds a connection to an environment by their IDs
environmentId required | string <uuid> (id) Environment ID |
connectionId required | string <uuid> (id) Connection ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "environment_connection_mapping": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Removes a connection from an environment by their IDs
environmentId required | string <uuid> (id) Environment ID |
connectionId required | string <uuid> (id) Connection ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "environment_connection_mapping": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
- "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Get All events
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
object (events_filter) Filter for retrieving events |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "recordType": "string",
- "data": [
- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "system_id": "6ed1f7c4-3772-4fa8-92a5-defb7f18dbc4",
- "category": "pattern",
- "action": "deployed",
- "description": "“Prometheus” pattern deployed in K8s ctx “Layer5 Cloud”.",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "provider": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}
Get Events summary for a user
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "recordType": "string",
- "data": [
- {
- "user_id": "string",
- "provider": "string",
- "email": "string",
- "first_name": "string",
- "last_name": "string",
- "activity_count": 0,
- "login_count": 0,
- "signup_count": 0,
- "perf_results_count": 0,
- "smi_results_count": 0,
- "meshery_apps_count": 0,
- "meshery_patterns_count": 0,
- "meshery_filters_count": 0,
- "last_login_time": "string"
}
]
}
Add repo path and installationId as metadata to github connection, and get response of imported designs from passed path
Body for sharing resource
Array of objects (githubRepo) | |||
Array
| |||
installationId | string Installation Id of github connection. |
{- "paths": [
- {
- "repoName": "string"
}
], - "installationId": "string"
}
{- "repoName": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "pattern_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Scan and verify if kanvas.yaml file already exist in repository by passing repo name and installation id
repoName required | string The name of the repository |
id | string Github installtion id |
{- "status": "string",
- "error": "string",
- "file_url": "string"
}
Scans and returns the paginated tree view of the repository.
name | string Example: name=meshery/meshery&name=dapr/helm-charts Repository to scan |
page | string Get responses by page |
[- {
- "label": "string",
- "type": "string",
- "file_info": {
- "sha": "string",
- "path": "string",
- "mode": "string",
- "type": "string",
- "size": "string",
- "url": "string"
}, - "children": [ ]
}
]
Import designs from github
connectionId required | string <uuid> (id) Connection ID |
Body for importing designs from github
Array of objects | |||||||||
Array
| |||||||||
name | string name of repository. |
{- "paths": [
- {
- "label": "string",
- "type": "string",
- "file_info": {
- "sha": "string",
- "path": "string",
- "mode": "string",
- "type": "string",
- "size": "string",
- "url": "string"
}, - "children": [
- {
- "label": "string",
- "type": "string",
- "file_info": {
- "sha": "string",
- "path": "string",
- "mode": "string",
- "type": "string",
- "size": "string",
- "url": "string"
}, - "children": [ ]
}
]
}
], - "name": "string"
}
{- "errors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "system_id": "6ed1f7c4-3772-4fa8-92a5-defb7f18dbc4",
- "operation_id": "cb4ede3c-a5d1-45e3-a9d2-fe83accbce52",
- "category": "pattern",
- "action": "deployed",
- "status": "read",
- "acted_upon": "110020-123230-434231-000213",
- "description": "“Prometheus” pattern deployed in K8s ctx “Layer5 Cloud”.",
- "severity": "info",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "patterns": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "pattern_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Register with Layer5 Cloud
Body for registering with Layer5 Cloud
name | string (text) Name | ||
kind | string (text) Kind | ||
type | string (text) Connection type | ||
sub_type | string (text) Connection subtype | ||
object (map_object) | |||
| |||
object (map_object) | |||
| |||
status | string (text) Status of the connection |
{- "name": "string",
- "kind": "string",
- "type": "string",
- "sub_type": "string",
- "credential_secret": {
- "property1": "string",
- "property2": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "string"
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "connections": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",
- "type": "string",
- "sub_type": "string",
- "kind": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "discovered",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "environments": {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
}
]
}
Get connections
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
filter | string Get filtered reponses |
kind | Array of arrays Example: kind=meshery&kind=kubernetes Get responses based on connection kind - eg (meshery, kubernetes), kind param can be passed multiple times |
status | Array of strings Example: status=connected&status=discovered Get responses based on connection status - eg (connected, discovered), status param can be passed multiple times |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "connections": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",
- "type": "string",
- "sub_type": "string",
- "kind": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "discovered",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "environments": {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
}
]
}
Edit registered connection using the connection ID
connectionId required | string <uuid> (id) Connection ID |
Body for registering with Layer5 Cloud
name | string (text) Name | ||
kind | string (text) Kind | ||
type | string (text) Connection type | ||
sub_type | string (text) Connection subtype | ||
object (map_object) | |||
| |||
object (map_object) | |||
| |||
status | string (text) Status of the connection |
{- "name": "string",
- "kind": "string",
- "type": "string",
- "sub_type": "string",
- "credential_secret": {
- "property1": "string",
- "property2": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "string"
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "connections": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",
- "type": "string",
- "sub_type": "string",
- "kind": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "discovered",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "environments": {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
}
]
}
Delete registered connection
connectionId required | string <uuid> (id) Connection ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "connections": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",
- "type": "string",
- "sub_type": "string",
- "kind": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "discovered",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "environments": {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
}
]
}
Edit connection status using the connection ID
connectionId required | string <uuid> (id) Connection ID |
Body containing connection status to update.
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "connections": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",
- "type": "string",
- "sub_type": "string",
- "kind": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "discovered",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "environments": {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
}
]
}
Get MeshModel models
page | string Get responses by page |
pagesize | string Get responses by pagesize (pass all to get all responses) |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "models": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "version": "string",
- "display_name": "string",
- "category_id": "8de4c9fd-61a4-4c0b-bf88-0ed3a0fe3fa2",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Get MeshModel categories
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Get connections by kind
connectionKind required | string Connection kind (eg: Meshery) |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
mesheryInstanceID | string <uuid> (id) Meshery instance ID |
{ }
Delete registered connection
connectionKind required | string Connection kind (eg: Meshery) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",
- "type": "string",
- "sub_type": "string",
- "kind": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "discovered",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "environments": {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
}
Get connections by kind (kind is required because this API returns the results in non std format of a connection)
connectionKind required | string Connection kind (eg: Meshery) |
connectionId required | string <uuid> (id) Connection ID |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "k8sContext": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "auth": {
- "property1": "string",
- "property2": "string"
}, - "cluster": {
- "property1": "string",
- "property2": "string"
}, - "server": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "meshery_instance_id": "bf321bb0-cdd5-4abb-a805-f9cbe16d497d",
- "kubernetes_server_id": "80c562e5-e6de-4059-86f9-b4b05f912501",
- "deployment_type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}, - "inserted": true
}
Deletes a given meshery connection. This is generally used for deleting connections from Meshery Server UI where UI is not aware of connection IDs.
mesheryServerID required | string <uuid> (id) Meshery server ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "connections": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",
- "type": "string",
- "sub_type": "string",
- "kind": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "discovered",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "environments": {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
}
]
}
Request payload to send an email.
to required | string Single recipient email address. |
subject | string Default: "Kanvas Design Snapshot" Subject line of the snapshot email. |
image_uri required | string The URI where the snapshot image can be accessed. Can be a URL or file path. |
{- "to": "string",
- "subject": "Kanvas Design Snapshot",
- "image_uri": "string"
}
Lists the keychains
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "keys": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "subcategory": "string",
- "function": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}, - "category": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5"
}
]
}
A new keychain is created if id is not provided in the request body. To update an existing keychain pass the updated keychain along with id in request body.
Body for creating keychain
ID | string <uuid> (id) | ||||
name | string (text) | ||||
owner | string <uuid> (id) | ||||
created_at | string <date-time> (time) | ||||
updated_at | string <date-time> (time) | ||||
object (nullTime) | |||||
|
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
Returns all keys belonging to a keychain
keychainID required | string Keychain Id |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "keys": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "subcategory": "string",
- "function": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}, - "category": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5"
}
]
}
Lists the key chain
id required | string <uuid> (id) Unique identifier |
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
Lists the keys available
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "keys": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "subcategory": "string",
- "function": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}, - "category": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5"
}
]
}
A new key is created if id is not provided in the request body. To update an existing key pass the updated key along with id in request body.
Body for creating key
ID | string <uuid> (id) | ||||
subcategory | string (text) | ||||
function | string (text) | ||||
created_at | string <date-time> (time) | ||||
updated_at | string <date-time> (time) | ||||
object (nullTime) | |||||
| |||||
category | string (text) | ||||
description | string (text) | ||||
owner | string <uuid> (id) |
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "subcategory": "string",
- "function": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}, - "category": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5"
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "subcategory": "string",
- "function": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}, - "category": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5"
}
Get key by ID
id required | string <uuid> (id) Unique identifier |
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "subcategory": "string",
- "function": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}, - "category": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5"
}
Returns all organizations to which the user belongs
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
all | boolean Get all possible entries |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "organizations": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "country": "string",
- "region": "string",
- "owner": "string",
- "metadata": {
- "preferences": {
- "theme": {
- "theme_id": "string",
- "logo": {
- "desktop_view": "string",
- "mobile_view": "string"
}
}, - "dashboard": {
- "layout": {
- "property1": { },
- "property2": { }
}
}
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Creates a new organization
Body for upserting organization
name | string (text) | ||||||||||||||
country | string (text) | ||||||||||||||
region | string (text) | ||||||||||||||
description | string (text) | ||||||||||||||
notify_org_update | boolean | ||||||||||||||
object (organizationPreferences) | |||||||||||||||
|
{- "name": "string",
- "country": "string",
- "region": "string",
- "description": "string",
- "notify_org_update": true,
- "preferences": {
- "theme": {
- "theme_id": "string",
- "logo": {
- "desktop_view": "string",
- "mobile_view": "string"
}
}, - "dashboard": {
- "layout": {
- "property1": { },
- "property2": { }
}
}
}
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "country": "string",
- "region": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "metadata": {
- "preferences": {
- "theme": {
- "theme_id": "string",
- "logo": {
- "desktop_view": "string",
- "mobile_view": "string"
}
}, - "dashboard": {
- "layout": {
- "property1": { },
- "property2": { }
}
}
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
Returns the organization
orgID required | string User's organization ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "organizations": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "country": "string",
- "region": "string",
- "owner": "string",
- "metadata": {
- "preferences": {
- "theme": {
- "theme_id": "string",
- "logo": {
- "desktop_view": "string",
- "mobile_view": "string"
}
}, - "dashboard": {
- "layout": {
- "property1": { },
- "property2": { }
}
}
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Deletes the organization
orgID required | string User's organization ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "organizations": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "country": "string",
- "region": "string",
- "owner": "string",
- "metadata": {
- "preferences": {
- "theme": {
- "theme_id": "string",
- "logo": {
- "desktop_view": "string",
- "mobile_view": "string"
}
}, - "dashboard": {
- "layout": {
- "property1": { },
- "property2": { }
}
}
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Updates the organization
orgID required | string User's organization ID |
Body for upserting organization
name | string (text) | ||||||||||||||
country | string (text) | ||||||||||||||
region | string (text) | ||||||||||||||
description | string (text) | ||||||||||||||
notify_org_update | boolean | ||||||||||||||
object (organizationPreferences) | |||||||||||||||
|
{- "name": "string",
- "country": "string",
- "region": "string",
- "description": "string",
- "notify_org_update": true,
- "preferences": {
- "theme": {
- "theme_id": "string",
- "logo": {
- "desktop_view": "string",
- "mobile_view": "string"
}
}, - "dashboard": {
- "layout": {
- "property1": { },
- "property2": { }
}
}
}
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "organizations": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "country": "string",
- "region": "string",
- "owner": "string",
- "metadata": {
- "preferences": {
- "theme": {
- "theme_id": "string",
- "logo": {
- "desktop_view": "string",
- "mobile_view": "string"
}
}, - "dashboard": {
- "layout": {
- "property1": { },
- "property2": { }
}
}
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Get preferences for an organization (theme, custom logos,etc)
orgID required | string User's organization ID |
{- "theme": {
- "theme_id": "string",
- "logo": {
- "desktop_view": "string",
- "mobile_view": "string"
}
}, - "dashboard": {
- "layout": {
- "property1": { },
- "property2": { }
}
}
}
Add team to organization
orgID required | string User's organization ID |
teamId required | string <uuid> (id) Team's teamId |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "teams_organizations_mapping": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
- "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Delete team from organization
orgID required | string User's organization ID |
teamId required | string <uuid> (id) Team's teamId |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "teams_organizations_mapping": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
- "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Get Performance Profiles results by ID for SMP Dashboard
id required | string <uuid> (id) Unique identifier |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
Update performance profiles or create a new performance profile if no id is provided
Body for upserting performance profile
id | string <uuid> (id) | ||
name | string (text) | ||
user_id | string <uuid> (id) | ||
schedule | string <uuid> (id) | ||
load_generators | string | ||
endpoints | string | ||
service_mesh | string | ||
concurrent_request | integer | ||
qps | integer | ||
duration | string | ||
last_run | string <date-time> (time) | ||
total_results | integer | ||
request_headers | string | ||
request_cookies | string | ||
request_body | string | ||
object (map_object) | |||
| |||
created_at | string <date-time> (time) | ||
updated_at | string <date-time> (time) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "schedule": "0caaa334-df8e-492a-85be-f8a502a13416",
- "load_generators": "string",
- "endpoints": "string",
- "service_mesh": "string",
- "concurrent_request": 0,
- "qps": 0,
- "duration": "string",
- "last_run": "2019-08-24T14:15:22Z",
- "total_results": 0,
- "request_headers": "string",
- "request_cookies": "string",
- "request_body": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "schedule": "0caaa334-df8e-492a-85be-f8a502a13416",
- "load_generators": "string",
- "endpoints": "string",
- "service_mesh": "string",
- "concurrent_request": 0,
- "qps": 0,
- "duration": "string",
- "last_run": "2019-08-24T14:15:22Z",
- "total_results": 0,
- "request_headers": "string",
- "request_cookies": "string",
- "request_body": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get performance profiles
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "profiles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "schedule": "0caaa334-df8e-492a-85be-f8a502a13416",
- "load_generators": "string",
- "endpoints": "string",
- "service_mesh": "string",
- "concurrent_request": 0,
- "qps": 0,
- "duration": "string",
- "last_run": "2019-08-24T14:15:22Z",
- "total_results": 0,
- "request_headers": "string",
- "request_cookies": "string",
- "request_body": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Get Performance Profile by ID
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "schedule": "0caaa334-df8e-492a-85be-f8a502a13416",
- "load_generators": "string",
- "endpoints": "string",
- "service_mesh": "string",
- "concurrent_request": 0,
- "qps": 0,
- "duration": "string",
- "last_run": "2019-08-24T14:15:22Z",
- "total_results": 0,
- "request_headers": "string",
- "request_cookies": "string",
- "request_body": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Delete performance profiles by ID
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "schedule": "0caaa334-df8e-492a-85be-f8a502a13416",
- "load_generators": "string",
- "endpoints": "string",
- "service_mesh": "string",
- "concurrent_request": 0,
- "qps": 0,
- "duration": "string",
- "last_run": "2019-08-24T14:15:22Z",
- "total_results": 0,
- "request_headers": "string",
- "request_cookies": "string",
- "request_body": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get paginated Performance Profiles result
id required | string <uuid> (id) Unique identifier |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "test_start_time": "2019-08-24T14:15:22Z",
- "mesh": "string",
- "runner_results": {
- "property1": "string",
- "property2": "string"
}, - "deleted": true,
- "server_metrics": {
- "property1": "string",
- "property2": "string"
}, - "server_board_config": {
- "property1": "string",
- "property2": "string"
}, - "performance_profile": "daa36017-1e94-444f-ae03-c54ec0a421d8",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Add performance profile result in given performance profile id
id required | string <uuid> (id) Unique identifier |
result_id required | string <uuid> (id) Result id |
Body for adding performance profile result
id | string <uuid> (id) | ||
name | string (text) | ||
test_start_time | string <date-time> (time) | ||
mesh | string | ||
object (map_object) | |||
| |||
deleted | boolean | ||
object (map_object) | |||
| |||
object (map_object) | |||
| |||
performance_profile | string <uuid> (id) | ||
created_at | string <date-time> (time) | ||
updated_at | string <date-time> (time) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "test_start_time": "2019-08-24T14:15:22Z",
- "mesh": "string",
- "runner_results": {
- "property1": "string",
- "property2": "string"
}, - "deleted": true,
- "server_metrics": {
- "property1": "string",
- "property2": "string"
}, - "server_board_config": {
- "property1": "string",
- "property2": "string"
}, - "performance_profile": "daa36017-1e94-444f-ae03-c54ec0a421d8",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Get the performance test result associated with the given profile id and with the given test id
id required | string <uuid> (id) Unique identifier |
result_id required | string <uuid> (id) Result id |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "test_start_time": "2019-08-24T14:15:22Z",
- "mesh": "string",
- "runner_results": {
- "property1": "string",
- "property2": "string"
}, - "deleted": true,
- "server_metrics": {
- "property1": "string",
- "property2": "string"
}, - "server_board_config": {
- "property1": "string",
- "property2": "string"
}, - "performance_profile": "daa36017-1e94-444f-ae03-c54ec0a421d8",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update SMP results with metrics
Body for upserting performance result
id | string <uuid> (id) | ||
name | string (text) | ||
test_start_time | string <date-time> (time) | ||
mesh | string | ||
object (map_object) | |||
| |||
deleted | boolean | ||
object (map_object) | |||
| |||
object (map_object) | |||
| |||
performance_profile | string <uuid> (id) | ||
created_at | string <date-time> (time) | ||
updated_at | string <date-time> (time) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "test_start_time": "2019-08-24T14:15:22Z",
- "mesh": "string",
- "runner_results": {
- "property1": "string",
- "property2": "string"
}, - "deleted": true,
- "server_metrics": {
- "property1": "string",
- "property2": "string"
}, - "server_board_config": {
- "property1": "string",
- "property2": "string"
}, - "performance_profile": "daa36017-1e94-444f-ae03-c54ec0a421d8",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Store SMP results
Body for upserting performance result
id | string <uuid> (id) | ||
name | string (text) | ||
test_start_time | string <date-time> (time) | ||
mesh | string | ||
object (map_object) | |||
| |||
deleted | boolean | ||
object (map_object) | |||
| |||
object (map_object) | |||
| |||
performance_profile | string <uuid> (id) | ||
created_at | string <date-time> (time) | ||
updated_at | string <date-time> (time) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "test_start_time": "2019-08-24T14:15:22Z",
- "mesh": "string",
- "runner_results": {
- "property1": "string",
- "property2": "string"
}, - "deleted": true,
- "server_metrics": {
- "property1": "string",
- "property2": "string"
}, - "server_board_config": {
- "property1": "string",
- "property2": "string"
}, - "performance_profile": "daa36017-1e94-444f-ae03-c54ec0a421d8",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get SMP results
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "test_start_time": "2019-08-24T14:15:22Z",
- "mesh": "string",
- "runner_results": {
- "property1": "string",
- "property2": "string"
}, - "deleted": true,
- "server_metrics": {
- "property1": "string",
- "property2": "string"
}, - "server_board_config": {
- "property1": "string",
- "property2": "string"
}, - "performance_profile": "daa36017-1e94-444f-ae03-c54ec0a421d8",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Get SMP results associated with id
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "test_start_time": "2019-08-24T14:15:22Z",
- "mesh": "string",
- "runner_results": {
- "property1": "string",
- "property2": "string"
}, - "deleted": true,
- "server_metrics": {
- "property1": "string",
- "property2": "string"
}, - "server_board_config": {
- "property1": "string",
- "property2": "string"
}, - "performance_profile": "daa36017-1e94-444f-ae03-c54ec0a421d8",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Creates a new plan
Body for upserting plan of kind Meshery with Layer5 Cloud
name | string (planName) Enum: "personal" "team" "enterprise" A list of subscription plans offered for customers |
cadence | string (planCadence) Enum: "annually" "monthly" "none" |
price | integer <int32> (price) |
{- "name": "personal",
- "cadence": "annually",
- "price": 0
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "plans": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "personal",
- "cadence": "annually",
- "price": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Returns all plans for given organization
organizationId required | string Organization Id |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
filter | string Get filtered reponses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "plans": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "personal",
- "cadence": "annually",
- "price": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Deletes the plan with the given ID
planId required | string Plan Id |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "plans": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "personal",
- "cadence": "annually",
- "price": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Updates the plan with the given ID
planId required | string Plan Id |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "plans": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "personal",
- "cadence": "annually",
- "price": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Get access record of resource by providing resource type and id
resourceType required | string Type of resource e.g design, filter, view, environment, workspace |
resourceId required | string <uuid> (id) Id of resource |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "actor_id": "04f37679-bfbf-4906-b749-01756515cecf",
- "action_type": "string",
- "resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
- "resource_type": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Retrieve all actors that have access for a resource, by providing actor type.
resourceType required | string Type of resource e.g design, filter, view, environment, workspace |
resourceId required | string <uuid> (id) Id of resource |
actorType required | string Type of actor e.g user, team, system, registrant |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Assign role to user
Body for assigning role to the user
role_names required | Array of strings (roleNames) |
email required | string <email> (email) |
{- "role_names": [
- "string"
], - "email": "user@example.com"
}
Get All supported roles
orgID required | string User's organization ID |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
all | boolean Get all possible entries |
selector | string Selector |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "roles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
A new role is created if id is not provided in the request body. To update an existing role pass the id of the role in request body.
orgID required | string User's organization ID |
Body for upserting roles
name | string (text) |
description | string (text) |
{- "name": "string",
- "description": "string"
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Edit roles of user in bulk
orgID required | string User's organization ID |
Body for editing role of the users in bulk
id required | string <uuid> (id) | ||||||||||||||||||||||
user_id required | string (user_id) user's email or username | ||||||||||||||||||||||
username required | string (username) | ||||||||||||||||||||||
email required | string <email> (email) | ||||||||||||||||||||||
first_name required | string (text) First Name | ||||||||||||||||||||||
last_name required | string (text) Last Name | ||||||||||||||||||||||
status required | string (status) | ||||||||||||||||||||||
role_names required | Array of strings (roleNames) | ||||||||||||||||||||||
created_at required | string <date-time> (time) | ||||||||||||||||||||||
updated_at required | string <date-time> (time) | ||||||||||||||||||||||
last_login_time required | string <date-time> (time) | ||||||||||||||||||||||
deleted_at required | string <date-time> (time) | ||||||||||||||||||||||
object (email_preference) | |||||||||||||||||||||||
| |||||||||||||||||||||||
avatar_url | string (avatar_url) Link for profile picture | ||||||||||||||||||||||
object (map_object) | |||||||||||||||||||||||
| |||||||||||||||||||||||
object (organizationWithRoles) | |||||||||||||||||||||||
| |||||||||||||||||||||||
Array of objects (teamsWithRoles) | |||||||||||||||||||||||
Array
|
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "status": "string",
- "role_names": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_login_time": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "prefs": {
- "welcome_email": true,
- "notify_role_change": true
}, - "avatar_url": "string",
- "preferences": {
- "property1": "string",
- "property2": "string"
}, - "organization_with_roles": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "country": "string",
- "region": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "metadata": {
- "preferences": {
- "theme": {
- "theme_id": "string",
- "logo": {
- "desktop_view": "string",
- "mobile_view": "string"
}
}, - "dashboard": {
- "layout": {
- "property1": { },
- "property2": { }
}
}
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "role_names": [
- "string"
]
}, - "teams_with_roles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "role_names": [
- "string"
]
}
]
}
]
Add keychain to roles
roleId required | string <uuid> (id) Role's role_id |
keychainID required | string Keychain Id |
orgID required | string User's organization ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "keychain_id": "18bca909-53da-4773-8cab-ea019aa83606",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
Delete keychain to roles
roleId required | string <uuid> (id) Role's role_id |
keychainID required | string Keychain Id |
orgID required | string User's organization ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "keychain_id": "18bca909-53da-4773-8cab-ea019aa83606",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
GetKeychainByRoleId
roleId required | string <uuid> (id) Role's role_id |
orgID required | string User's organization ID |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "keychains": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Edit roles of user in bulk
id required | string <uuid> (id) Unique identifier |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
It will create a new schedule if not present else it will update the entry matching with the provided id
Body for upserting scheduling
id | string <uuid> (id) |
cron_expression | string |
user_id | string <uuid> (id) |
created_at | string <date-time> (time) |
updated_at | string <date-time> (time) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cron_expression": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cron_expression": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get paginated schedules
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "profiles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cron_expression": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Get schedule by Id
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cron_expression": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Delete schedule by Id
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cron_expression": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
It will insert the result if not present else it will update the matching entry
Body for upserting SMI result
id | string <uuid> (id) | ||||||||||||||||
user_id | string <uuid> (id) | ||||||||||||||||
mesh_name | string (text) | ||||||||||||||||
mesh_version | string (text) | ||||||||||||||||
cases_passed | string (text) | ||||||||||||||||
passing_percentage | string (text) | ||||||||||||||||
status | string (text) | ||||||||||||||||
object (detail) | |||||||||||||||||
| |||||||||||||||||
test_start_time | string <date-time> (time) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "mesh_name": "string",
- "mesh_version": "string",
- "cases_passed": "string",
- "passing_percentage": "string",
- "status": "string",
- "more_details": {
- "smi_specification": "string",
- "smi_version": "string",
- "time": "string",
- "assertions": "string",
- "result": "string",
- "reason": "string",
- "capability": "string",
- "status": "string"
}, - "test_start_time": "2019-08-24T14:15:22Z"
}
Get paginated SMI results
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "mesh_name": "string",
- "mesh_version": "string",
- "cases_passed": "string",
- "passing_percentage": "string",
- "status": "string",
- "more_details": {
- "smi_specification": "string",
- "smi_version": "string",
- "time": "string",
- "assertions": "string",
- "result": "string",
- "reason": "string",
- "capability": "string",
- "status": "string"
}, - "test_start_time": "2019-08-24T14:15:22Z"
}
]
}
Get SMI Results by Id
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "mesh_name": "string",
- "mesh_version": "string",
- "cases_passed": "string",
- "passing_percentage": "string",
- "status": "string",
- "more_details": {
- "smi_specification": "string",
- "smi_version": "string",
- "time": "string",
- "assertions": "string",
- "result": "string",
- "reason": "string",
- "capability": "string",
- "status": "string"
}, - "test_start_time": "2019-08-24T14:15:22Z"
}
Get SMI Public tests
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "mesh_name": "string",
- "mesh_version": "string",
- "cases_passed": "string",
- "passing_percentage": "string",
- "status": "string",
- "more_details": {
- "smi_specification": "string",
- "smi_version": "string",
- "time": "string",
- "assertions": "string",
- "result": "string",
- "reason": "string",
- "capability": "string",
- "status": "string"
}, - "test_start_time": "2019-08-24T14:15:22Z"
}
]
}
Returns all subscriptions of a user
organizationId required | string Organization Id |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "results": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "org_ID": "9224f810-050a-44ed-9687-77908e626a4d",
- "plan_ID": "fe1ec660-d956-4bce-886c-2d466cdbc380",
- "subscription_status": "active",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Returns the subscription
subscriptionId required | string Subscription Id |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "results": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "org_ID": "9224f810-050a-44ed-9687-77908e626a4d",
- "plan_ID": "fe1ec660-d956-4bce-886c-2d466cdbc380",
- "subscription_status": "active",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Deletes the subscription
subscriptionId required | string Subscription Id |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "results": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "org_ID": "9224f810-050a-44ed-9687-77908e626a4d",
- "plan_ID": "fe1ec660-d956-4bce-886c-2d466cdbc380",
- "subscription_status": "active",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Upserts a subscription
Subscription to be created
ID | string <uuid> (id) |
org_ID | string <uuid> (id) |
plan_ID | string <uuid> (id) |
subscription_status | string (subscriptionStatus) Enum: "active" "closed" "overdue" "expired" Status of the subscription |
start_date | string <date-time> (time) |
end_date | string <date-time> (time) |
created_at | string <date-time> (time) |
updated_at | string <date-time> (time) |
deleted_at | string <date-time> (time) |
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "org_ID": "9224f810-050a-44ed-9687-77908e626a4d",
- "plan_ID": "fe1ec660-d956-4bce-886c-2d466cdbc380",
- "subscription_status": "active",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "results": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "org_ID": "9224f810-050a-44ed-9687-77908e626a4d",
- "plan_ID": "fe1ec660-d956-4bce-886c-2d466cdbc380",
- "subscription_status": "active",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Returns the specified team
teamId required | string <uuid> (id) Team's teamId |
orgID required | string User's organization ID |
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
Updates the specified team
teamId required | string <uuid> (id) Team's teamId |
orgID required | string User's organization ID |
Body for upserting teams
name | string (text) Team name | ||
description | string (text) Team description | ||
notify_team_update | boolean Notify team members about team update | ||
object (map_object) | |||
|
{- "name": "string",
- "description": "string",
- "notify_team_update": true,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "teams": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Returns all teams belonging to an organization
orgID required | string User's organization ID |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "teams": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Creates a new Team
orgID required | string User's organization ID |
Body for upserting teams
name | string (text) Team name | ||
description | string (text) Team description | ||
notify_team_update | boolean Notify team members about team update | ||
object (map_object) | |||
|
{- "name": "string",
- "description": "string",
- "notify_team_update": true,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "teams": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Lists the users in the specified team
teamId required | string <uuid> (id) Team's teamId |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "recordType": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "status": "string",
- "role_names": [
- "string"
], - "joined_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_login_time": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "prefs": {
- "welcome_email": true,
- "notify_role_change": true
}, - "avatar_url": "string"
}
]
}
Adds the user to the specified team
teamId required | string <uuid> (id) Team's teamId |
userId required | string User's user_id |
orgID required | string User's organization ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "users_teams_mapping": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Remove the user from the specified team
teamId required | string <uuid> (id) Team's teamId |
userId required | string User's user_id |
orgID required | string User's organization ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "users_teams_mapping": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Lists the users not in the specified team
teamId required | string <uuid> (id) Team's teamId |
orgID required | string User's organization ID |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "recordType": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "status": "string",
- "role_names": [
- "string"
], - "joined_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_login_time": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "prefs": {
- "welcome_email": true,
- "notify_role_change": true
}, - "avatar_url": "string"
}
]
}
Lists the roles associated with the team
teamId required | string <uuid> (id) Team's teamId |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Adds role to the specified team
teamId required | string <uuid> (id) Team's teamId |
roleId required | string <uuid> (id) Role's role_id |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Removes role from the specified team
teamId required | string <uuid> (id) Team's teamId |
roleId required | string <uuid> (id) Role's role_id |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get tokens associated with logged in user
isOAuth | string To get OAuth tokens as well |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "tokens": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "provider": "string",
- "access_token": "string",
- "refresh_token": "string",
- "name": "string",
- "purpose": "string",
- "is_oauth": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Generate token for logged in user
name | string Name of the resource |
purpose | string Purpose for which token is generated |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "tokens": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "provider": "string",
- "access_token": "string",
- "refresh_token": "string",
- "name": "string",
- "purpose": "string",
- "is_oauth": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Delete token for logged in user
token_name required | string (text) Name of the token |
token_id required | string <uuid> (id) ID of the token |
Body of type map
property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "tokens": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "provider": "string",
- "access_token": "string",
- "refresh_token": "string",
- "name": "string",
- "purpose": "string",
- "is_oauth": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
This API endpoint downloads user token by ID
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "provider": "string",
- "access_token": "string",
- "refresh_token": "string",
- "name": "string",
- "purpose": "string",
- "is_oauth": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get Infinite Token
user_id required | string UUID of Admin User |
provider required | string Remote provider |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "tokens": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "provider": "string",
- "access_token": "string",
- "refresh_token": "string",
- "name": "string",
- "purpose": "string",
- "is_oauth": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Updates user singup request
Body for updating user signup request
id | string <uuid> (id) |
first_name | string (text) First Name |
last_name | string (text) Last Name |
string <email> (email) | |
occupation | string (text) Occupation |
organization | string (text) Organization |
role | string (text) Role in organization |
form_type | string (text) Form Type (Kanvas or Playground) |
status | string (text) Status (approved / denied) |
task_id | string (text) ClickUp task id |
task_link | string (text) ClickUp task link |
created_at | string <date-time> (time) |
updated_at | string <date-time> (time) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "occupation": "string",
- "organization": "string",
- "role": "string",
- "form_type": "string",
- "status": "string",
- "task_id": "string",
- "task_link": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get all Signup requests
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
object Filter for catalog requests |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "signup_data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "occupation": "string",
- "organization": "string",
- "role": "string",
- "form_type": "string",
- "status": "string",
- "task_id": "string",
- "task_link": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Approve Signup request
id | string <uuid> (id) Signup request id |
first_name | string First Name |
last_name | string Last Name |
string | |
occupation | string <email> (email) |
organization | string Organization |
role | string Role in organization |
form_type | string Form Type (Kanvas or Playground) |
status | string Status (approved / denied) |
task_id | string Click up task id |
task_link | string Click up task link |
Deny Signup Request
id | string <uuid> (id) Signup request id |
first_name | string First Name |
last_name | string Last Name |
string | |
occupation | string <email> (email) |
organization | string Organization |
role | string Role in organization |
form_type | string Form Type (Kanvas or Playground) |
status | string Status (approved / denied) |
task_id | string Click up task id |
task_link | string Click up task link |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "occupation": "string",
- "organization": "string",
- "role": "string",
- "form_type": "string",
- "status": "string",
- "task_id": "string",
- "task_link": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Send invitation request to users
orgID required | string User's organization ID |
Body for user invite request
first_name required | string (text) First Name | ||||||||||||||
last_name required | string (text) Last Name | ||||||||||||||
email required | string <email> (email) | ||||||||||||||
Array of objects (team) | |||||||||||||||
Array
| |||||||||||||||
team_roles | Array of strings (text) Team level roles (team admin) | ||||||||||||||
org_roles | Array of strings (text) Organization level roles (organization admin) | ||||||||||||||
roles | Array of strings (text) Provider level roles (kanvas, admin, curator) |
{- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "teams": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "team_roles": [
- "string"
], - "org_roles": [
- "string"
], - "roles": [
- "string"
]
}
Get all keys based on roles assigned to user
orgID required | string User's organization ID |
{- "keys": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "subcategory": "string",
- "function": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}, - "category": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5"
}
], - "total_count": 0
}
Get specific user by user_id
userId required | string User's user_id |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "provider": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "status": "string",
- "bio": "string",
- "preferences": {
- "property1": "string",
- "property2": "string"
}, - "accepted_terms_at": "string",
- "first_login_time": "2019-08-24T14:15:22Z",
- "last_login_time": "2019-08-24T14:15:22Z",
- "role_names": [
- "string"
], - "teams": {
- "total_count": 0,
- "teams_with_roles": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
}
Bulk delete users account based on user_id for a give org. For Provider Admin use case only.
orgID required | string User's organization ID |
Body for delete of user accounts
user_ids required | string <uuid> (id) |
user_emails required | Array of strings <email> (emails) [ items <email > ] |
{- "user_ids": "2d98503d-4ab4-41bd-8fc6-78cc006fd2db",
- "user_emails": [
- "user@example.com"
]
}
Get All users for a given org
orgID required | string User's organization ID |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
filter | string Get filtered reponses |
teamID | string <uuid> (id) Team's teamId |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "recordType": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "status": "string",
- "role_names": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_login_time": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "prefs": {
- "welcome_email": true,
- "notify_role_change": true
}, - "avatar_url": "string",
- "preferences": {
- "property1": "string",
- "property2": "string"
}, - "organization_with_roles": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "country": "string",
- "region": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "metadata": {
- "preferences": {
- "theme": {
- "theme_id": "string",
- "logo": {
- "desktop_view": "string",
- "mobile_view": "string"
}
}, - "dashboard": {
- "layout": {
- "property1": { },
- "property2": { }
}
}
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "role_names": [
- "string"
]
}, - "teams_with_roles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "role_names": [
- "string"
]
}
]
}
]
}
Get All users
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
filter | string Get filtered reponses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "recordType": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "prefs": {
- "welcome_email": true,
- "notify_role_change": true
}, - "avatar_url": "string",
- "preferences": {
- "property1": "string",
- "property2": "string"
}
}
]
}
Get user profile of given user Id
id required | string <uuid> (id) Unique identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "provider": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "status": "string",
- "bio": "string",
- "preferences": {
- "property1": "string",
- "property2": "string"
}, - "accepted_terms_at": "string",
- "first_login_time": "2019-08-24T14:15:22Z",
- "last_login_time": "2019-08-24T14:15:22Z",
- "role_names": [
- "string"
], - "teams": {
- "total_count": 0,
- "teams_with_roles": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "provider": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "status": "string",
- "bio": "string",
- "preferences": {
- "property1": "string",
- "property2": "string"
}, - "accepted_terms_at": "string",
- "first_login_time": "2019-08-24T14:15:22Z",
- "last_login_time": "2019-08-24T14:15:22Z",
- "role_names": [
- "string"
], - "teams": {
- "total_count": 0,
- "teams_with_roles": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
}
Update user profile data (also updates kratos identity)
Body for upserting user
id required | string <uuid> (id) | ||||||||||||||||||||
user_id required | string (user_id) user's email or username | ||||||||||||||||||||
provider required | string (provider) One of (meshery-cloud, github, google) | ||||||||||||||||||||
email required | string <email> (email) | ||||||||||||||||||||
first_name required | string (text) First Name | ||||||||||||||||||||
last_name required | string (text) Last Name | ||||||||||||||||||||
avatar_url | string (avatar_url) Link for profile picture | ||||||||||||||||||||
status required | string (status) | ||||||||||||||||||||
bio | string (bio) | ||||||||||||||||||||
object (map_object) | |||||||||||||||||||||
| |||||||||||||||||||||
accepted_terms_at | string (accepted_terms_at) | ||||||||||||||||||||
first_login_time | string <date-time> (time) | ||||||||||||||||||||
last_login_time required | string <date-time> (time) | ||||||||||||||||||||
role_names | Array of strings (roleNames) | ||||||||||||||||||||
object | |||||||||||||||||||||
|
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "provider": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "status": "string",
- "bio": "string",
- "preferences": {
- "property1": "string",
- "property2": "string"
}, - "accepted_terms_at": "string",
- "first_login_time": "2019-08-24T14:15:22Z",
- "last_login_time": "2019-08-24T14:15:22Z",
- "role_names": [
- "string"
], - "teams": {
- "total_count": 0,
- "teams_with_roles": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
}
Get user's most recent activity
user_id required | string UUID of User |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
order | string Get ordered responses |
filter | string Get filtered reponses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "activities": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "system_id": "6ed1f7c4-3772-4fa8-92a5-defb7f18dbc4",
- "operation_id": "cb4ede3c-a5d1-45e3-a9d2-fe83accbce52",
- "category": "pattern",
- "action": "deployed",
- "status": "read",
- "acted_upon": "110020-123230-434231-000213",
- "description": "“Prometheus” pattern deployed in K8s ctx “Layer5 Cloud”.",
- "severity": "info",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Send email notification to mentioned users, thread participants or owner about comment.
Body for sending email notifications about comments
mention_users | Array of strings <uuid> (user_ids) [ items <uuid > ] | ||||||||||
participants | Array of strings <uuid> (user_ids) [ items <uuid > ] | ||||||||||
users_opted_out_of_notifications | Array of strings <uuid> (user_ids) [ items <uuid > ] | ||||||||||
design_id required | string <uuid> (id) | ||||||||||
Array of objects (commentMessage) | |||||||||||
Array
|
{- "mention_users": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "participants": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "users_opted_out_of_notifications": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "design_id": "3c3997d4-c335-47fb-9214-209c16a24ffd",
- "messages": [
- {
- "firstName": "string",
- "lastName": "string",
- "avatarURL": "string",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
}
Send email notification to user who filled the feedback, and to all provider admins.
Body for sending feedback email notifications
message required | string (text) Feedback message. | ||
scope required | string (text) Scope of the feedback. The client can provide any scope, such as (Idea, Issue, Other). | ||
page_location required | string (text) The route URL of the page from which the user submitted the feedback. | ||
object (map_object) Additional information that the email should contain for better review. This field accepts an object; make sure the keys are in Sentence case, e.g., ('Design link': 'page link'). | |||
|
{- "message": "string",
- "scope": "string",
- "page_location": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
Get info of active / online users for an org in last 24 hours
orgID required | string User's organization ID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string"
}
]
{- "badges": {
- "property1": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "label": "string",
- "svg_location": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}, - "property2": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "label": "string",
- "svg_location": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
}, - "total_count": 0
}
Assign a badge to user
Body for un/assigning badges
user_id | string <uuid> (id) |
badges | Array of strings (text) |
{- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "badges": [
- "string"
]
}
Assign a badge to user
Body for un/assigning badges
user_id | string <uuid> (id) |
badges | Array of strings (text) |
{- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "badges": [
- "string"
]
}
Updates the notification preferences of the user
Body for updating notification preferences
notificationPreferences required | Array of strings (text) |
user_id required | string (text) |
{- "notificationPreferences": [
- "string"
], - "user_id": "string"
}
Get available notification preferences
{- "notificationsPreferences": {
- "property1": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "category": "string",
- "subcategory": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}, - "property2": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "category": "string",
- "subcategory": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
}, - "total_count": 0
}
Gets a view by its ID
viewId required | string <uuid> (id) View ID |
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "filters": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "user_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
Deletes a view by its ID
viewId required | string <uuid> (id) View ID |
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "filters": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "user_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
Updates the view
viewId required | string <uuid> (id) View ID |
Body for updating view
name | string (text) Name of view | ||
object (map_object) View's Filter | |||
| |||
object (map_object) View's Metadata | |||
| |||
visibility | string (text) View visibility (it should be only 'private' or 'public') |
{- "name": "string",
- "filters": {
- "property1": "string",
- "property2": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string"
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "filters": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "user_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
Creates a new view
Body for creating view
name required | string (text) Name of meshery view | ||
object (map_object) View's Filter | |||
| |||
object (map_object) View's Metadata | |||
|
{- "name": "string",
- "filters": {
- "property1": "string",
- "property2": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "filters": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "user_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
Gets all views
search | string Get responses that match search param value |
order | string Get ordered responses |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
filter | string Get filtered reponses |
visibility | string Get responses based on visibility - private, public or published |
orgID required | string User's organization ID |
user_id | string UUID of User. Pass user_id for fetching public and private views of a user |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "views": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "filters": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "user_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
This API calls defined webhooks from server, supported types are (support, kanvasEntitlement).
webhookType required | string Webhook type support from server like (support, kanvasEntitlement) |
property name* additional property | any |
{ }
Creates a new workspace
orgID required | string User's organization ID |
Body for creating workspace
name required | string (text) Name | ||
description | string (text) Workspace description | ||
organization_id required | string <uuid> (id) Organization ID | ||
object (map_object) Metadata related to workspace | |||
|
{- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Gets all workspaces
search | string Get responses that match search param value |
order | string Get ordered responses |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
filter | string Get filtered reponses |
orgID required | string User's organization ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Gets an workspace by its ID
workspaceId required | string <uuid> (id) Workspace ID |
orgID required | string User's organization ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Deletes an workspace by its ID
workspaceId required | string <uuid> (id) Workspace ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Updates the workspace
workspaceId required | string <uuid> (id) Workspace ID |
Body for updating workspace
name | string (text) Name of workspace |
description | string (text) Environment description |
organization_id required | string <uuid> (id) Organization ID |
{- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6"
}
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Gets an Teams of a given workspace by its ID
workspaceId required | string <uuid> (id) Workspace ID |
search | string Get responses that match search param value |
order | string Get ordered responses |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
object Filter for retrieving Workspaces |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "teams": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Unassigns a team from a workspace
workspaceId required | string <uuid> (id) Workspace ID |
teamId required | string <uuid> (id) Team's teamId |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "workspaces_teams_mapping": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Assigns a team to a workspace
workspaceId required | string <uuid> (id) Workspace ID |
teamId required | string <uuid> (id) Team's teamId |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "workspaces_teams_mapping": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Gets an environments of a given workspace by its ID
workspaceId required | string <uuid> (id) Workspace ID |
search | string Get responses that match search param value |
order | string Get ordered responses |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
object Filter for retrieving Workspaces |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "environments": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "description": "string",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "owner": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Unassigns a environment from a workspace
workspaceId required | string <uuid> (id) Workspace ID |
environmentId required | string <uuid> (id) Environment ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "workspaces_environments_mapping": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Assigns a environment to a workspace
workspaceId required | string <uuid> (id) Workspace ID |
environmentId required | string <uuid> (id) Environment ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "workspaces_environments_mapping": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Unassign a design from a workspace
workspaceId required | string <uuid> (id) Workspace ID |
designId required | string <uuid> (id) Design ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "workspaces_designs_mapping": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "design_id": "3c3997d4-c335-47fb-9214-209c16a24ffd",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Assigns a design to a workspace
workspaceId required | string <uuid> (id) Workspace ID |
designId required | string <uuid> (id) Design ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "workspaces_designs_mapping": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "design_id": "3c3997d4-c335-47fb-9214-209c16a24ffd",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Gets an designs of a given workspace by its ID
workspaceId required | string <uuid> (id) Workspace ID |
search | string Get responses that match search param value |
order | string Get ordered responses |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
object Filter for retrieving Workspaces |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "designs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "pattern_file": "string",
- "name": "string",
- "location": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "source_type": "string",
- "source_content": "string",
- "catalog_data": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Unassign a view from a workspace
workspaceId required | string <uuid> (id) Workspace ID |
viewId required | string <uuid> (id) View ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "workspaces_views_mapping": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "view_id": "51ee3349-7269-4d2c-8a79-ea7055ee54f4",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Assigns a view to a workspace
workspaceId required | string <uuid> (id) Workspace ID |
viewId required | string <uuid> (id) View ID |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "resultType": "string",
- "workspaces_views_mapping": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "view_id": "51ee3349-7269-4d2c-8a79-ea7055ee54f4",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]
}
Gets views of a given workspace by its ID
workspaceId required | string <uuid> (id) Workspace ID |
search | string Get responses that match search param value |
order | string Get ordered responses |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
object Filter for retrieving Workspaces |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "views": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "name": "string",
- "filters": {
- "property1": "string",
- "property2": "string"
}, - "visibility": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "user_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": {
- "time": "2019-08-24T14:15:22Z",
- "valid": true
}
}
]
}
Get all events of workspace. Only users that have access to a workspace can get its events. Provider Admins can see events for any workspace
workspaceId required | string <uuid> (id) Workspace ID |
page | string Get responses by page |
pagesize | string Get responses by pagesize |
search | string Get responses that match search param value |
order | string Get ordered responses |
{- "page": 0,
- "page_size": 0,
- "total_count": 0,
- "recordType": "string",
- "data": [
- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "system_id": "6ed1f7c4-3772-4fa8-92a5-defb7f18dbc4",
- "category": "pattern",
- "action": "deployed",
- "description": "“Prometheus” pattern deployed in K8s ctx “Layer5 Cloud”.",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "provider": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}