Capabilities
Operations for managing CAMARA capabilities
1
2
3
|
{
"name": "kyc-match"
}
|
| Name |
Type |
Required |
Description |
| name |
string |
true |
Name of the capability (CAMARA capability name) |
Request example
1
2
3
4
5
6
7
8
|
curl -X POST https://opengateway.masstack.com/v1/capabilities \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'name': 'kyc-match'
}"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| name |
query |
string |
false |
Filter capabilities by name |
Request example
1
2
3
4
|
curl -X GET https://opengateway.masstack.com/v1/capabilities?name='string' \
-H "Accept: application/json"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
Capability ID (UUID) |
Request example
1
2
3
4
|
curl -X GET https://opengateway.masstack.com/v1/capabilities/{id} \
-H "Accept: application/json"
|
1
2
3
|
{
"name": "sim-swap"
}
|
| Name |
Type |
Required |
Description |
| name |
string |
false |
Updated name of the capability |
Request example
1
2
3
4
5
6
7
8
|
curl -X PUT https://opengateway.masstack.com/v1/capabilities/{id} \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'name': 'sim-swap'
}"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
Capability ID (UUID) |
Request example
1
2
3
4
|
curl -X DELETE https://opengateway.masstack.com/v1/capabilities/{id} \
-H "Accept: application/json"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
Capability ID (UUID) |
Request example
1
2
3
4
|
curl -X GET https://opengateway.masstack.com/v1/capabilities/{id}/views \
-H "Accept: application/json"
|
1
2
3
|
{
"viewId": "550e8400-e29b-41d4-a716-446655440002"
}
|
| Name |
Type |
Required |
Description |
| viewId |
string(uuid) |
true |
View ID to associate with the capability |
Request example
1
2
3
4
5
6
7
8
|
curl -X POST https://opengateway.masstack.com/v1/capabilities/{id}/views \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'viewId': '550e8400-e29b-41d4-a716-446655440002'
}"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
Capability ID (UUID) |
| view_id |
path |
string(uuid) |
true |
View ID (UUID) |
Request example
1
2
3
4
|
curl -X DELETE https://opengateway.masstack.com/v1/capabilities/{id}/views/{view_id} \
-H "Accept: application/json"
|