JinaD (Daemon) (2.5.2)

Download OpenAPI specification:Download

REST interface for managing distributed Jina

daemon

API to manage the Daemon

Home

The instruction HTML when user visits / directly

.. #noqa: DAR201

Responses

Request samples

curl --request GET \
  --url http://localhost:8000/

Response samples

Content type
application/json
null

Get the status of the daemon

Responses

Request samples

curl --request GET \
  --url http://localhost:8000/status

Response samples

Content type
application/json
{
  • "jina": { },
  • "envs": { },
  • "workspaces": {
    },
  • "peas": {
    },
  • "pods": {
    },
  • "flows": {
    },
  • "used_memory": "string"
}

flows

API to manage Flows

Get all alive Flows' status

Responses

Request samples

curl --request GET \
  --url http://localhost:8000/flows

Response samples

Content type
application/json
{
  • "time_created": "2019-08-24T14:15:22Z",
  • "time_updated": "2019-08-24T14:15:22Z",
  • "num_add": 0,
  • "num_del": 0,
  • "items": {
    }
}

Create a Flow from a YAML config

query Parameters
workspace_id
required
string (Workspace Id) ^(jpod|jpea|jflow|jnetwork|jworkspace)-[0-9a-...
filename
required
string (Filename)
envs
Array of strings (Envs)
Default: []

Responses

Request samples

curl --request POST \
  --url 'http://localhost:8000/flows?workspace_id=SOME_STRING_VALUE&filename=SOME_STRING_VALUE&envs=SOME_ARRAY_VALUE'

Response samples