dependencies

dependencies

Methods

(route) retrieve(:id)

Route:
MethodPath
POST /api/bucket/:id/data/dependencies/
Retrieve dependencies from an application
Authentication

A authentication is needed to access this endpoint

Body Parameters:
Name Type Attributes Description
app_name String the application name
server_name String optional filter by server name
Header Parameters:
Name Type Description
Authorization String bearer access token issued for the user
Route Parameters:
Name Type Description
:id String bucket id
Response:
Name Type Description
. Array recorded dependencies
Response Code:
Type Description
500 database error
200 succesfully retrieved data
400 missing parameters
Example
km.data.dependencies.retrieve(bucket._id, {
   app_name: 'my_api'
 })
Parameters:
Name Type Description
:id bucket id