Skip to main content
POST
/
config
/
resources
Add a resource
curl --request POST \
  --url http://localhost:{port}/config/resources \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "<unknown>",
  "name": "<string>",
  "url": "<string>",
  "branch": "<string>",
  "searchPath": "<string>",
  "searchPaths": [
    "<string>"
  ],
  "specialNotes": "<string>"
}
'
{
  "type": "<unknown>",
  "name": "<string>",
  "url": "<string>",
  "branch": "<string>",
  "searchPath": "<string>",
  "searchPaths": [
    "<string>"
  ],
  "specialNotes": "<string>"
}
Adds a git or local resource to the current config.

Body

application/json
type
any
required
name
string
required
url
string
required
branch
string
required
searchPath
string | null
searchPaths
string[] | null
specialNotes
string | null

Response

Created resource

type
any
required
name
string
required
url
string
required
branch
string
required
searchPath
string | null
searchPaths
string[] | null
specialNotes
string | null