POST - /registry/resource
Description
This API adds a resource.
Input
Type: application/json
Param | Source | Type | Required | Description |
---|---|---|---|---|
env | body | string | yes | environment code |
data | body | object | yes |
|
name | body.data | string | yes | |
plugged | body.data | boolean | yes |
|
shared | body.data | boolean | yes |
|
sharedEnvs | body.data | object | no |
{“env_code”: true} |
config | body.data | object | yes |
|
type | body.data | enum | yes |
|
category | body.data | string | yes |
|