Download OpenAPI specification:
'VisionLabs Luna Video Agent'
Request for video analysis based on the specified analytics parameters eg facial estimations.
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
| Content-Type | string Value: "application/json" |
object (deferred_task) Deferred task setting. If enabled analytics will run in background. Task result and status can be received by /1/video/tasks/{task_id} | |
required | object Video information. |
required | Array of any A list of parameters for comprehensive video analytics. |
{- "deferred_task": {
- "enable": 0,
- "storage_policy": {
- "storage_type": "luna_image_store",
- "ttl": -1
}, - "notification_callbacks": {
- "enable": 0,
- "task_callbacks": [
- {
- "type": "http",
- "enable": 1,
- "authorization": {
- "type": "basic",
- "login": "login",
- "password": "password"
}, - "params": {
- "timeout": 60,
- "content_type": "application/json",
- "headers": { }
}
}, - {
- "type": "telegram",
- "enable": 1,
- "token": "1111111111:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
- "chat_id": 111111111,
- "params": {
- "timeout": 60
}
}
]
}
}, - "video": {
- "orientation": {
- "orientation_strategy": "static",
- "angle": 0
}, - "pts": {
- "start_time": 0
}, - "timestamp_source": "auto",
- "fps": 30,
- "error_handling": {
- "action": "fail"
}
}, - "analytics": [
- {
- "name": "people_count",
- "targets": [ ],
- "parameters": {
- "roi": {
- "x": 3327,
- "y": 3327,
- "width": 3327,
- "height": 3327,
- "mode": "abs"
}, - "droi": {
- "form": "wkt",
- "mode": "abs",
- "area": "GEOMETRYCOLLECTION (POINT (40 10),LINESTRING (10 10, 20 20, 10 40),POLYGON ((40 40, 20 45, 45 30, 40 40)))"
}, - "rate": {
- "period": 10,
- "unit": "frame"
}, - "probe_count": 3,
- "image_retain_policy": {
- "mimetype": "PNG",
- "quality": 1,
- "max_size": 640
}, - "people_count_threshold": 1
}
}
]
}{- "video_data": {
- "frames_count": 0,
- "frame_rate": 0,
- "duration": 0,
- "processed_parts": [
- {
- "start_offset": 0,
- "end_offset": 0
}
], - "error_count": 0,
- "rotation": 0
}, - "analytics": [
- {
- "name": "people_count",
- "result": {
- "crowd": {
- "events": [
- {
- "event_id": "string",
- "track_id": "557d54ec-29ad-4f3c-93b4-c9092ef12515",
- "people_count": 0,
- "video_segment": {
- "start_time_offset": 0.123,
- "end_time_offset": 1.234
}, - "frames_estimations": [
- {
- "people_count": 0,
- "time_offset": 1.234,
- "people_coordinates": [
- [
- 64,
- 128
], - [
- 491,
- 375
]
]
}
], - "overview": {
- "time_offset": 1.234,
- "image": "string",
- "people_coordinates": [
- [
- 530,
- 201
], - [
- 272,
- 191
]
]
}
}
]
}
}
}
]
}Get video task by ID.
| task_id required | string <uuid> (uuid) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: 557d54ec-29ad-4f3c-93b4-c9092ef12515 task ID. |
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "task_id": "string",
- "status": 0,
- "progress": 0.42,
- "result_url": "string"
}Create stream.
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
| Content-Type | string Value: "application/json" Content type is |
| Luna-Account-Id required | string <uuid> (account_id) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: 557d54ec-29ad-4f3c-93b4-c9092ef12515 Account ID. |
| name | string <= 128 characters Default: "stream" Stream name. |
| description | string <= 512 characters Default: "" Stream description. |
required | stream data with static orientation strategy (object) or stream data with video-info orientation strategy (object) |
object Stream location parameters. | |
| event_source_group | string (event_source_group) <= 256 characters ^[a-zA-Z0-9_\-]+$ Additional information about stream source. |
| source | string (source) <= 128 characters Additional information that user provides with event. |
object Stream autorestart parameters. | |
required | Array of objects (analytics_with_schedules_labeled) non-empty Analytics. |
object (stream_notification_policy) stream processing notification policy |
{- "name": "stream",
- "description": "",
- "data": {
- "type": "stream",
- "downloadable": false,
- "timestamp_source": "auto",
- "pts": {
- "start_time": 0
}, - "fps": 30,
- "timeout": 3000,
- "orientation_strategy": "static",
- "ffmpeg_kwargs": { },
- "behavior_parameters": {
- "eof_retry": {
- "delay": 100,
- "attempt_count": 10
}, - "decode_error_retry": {
- "delay": 100,
- "attempt_count": 10
}
}, - "rotation": 0
}, - "location": {
- "city": "Moscow",
- "area": "Central",
- "district": "Basmanny",
- "street": "Podsosensky lane",
- "house_number": "23 bldg.3",
- "geo_position": {
- "longitude": 36.616,
- "latitude": 55.752
}
}, - "event_source_group": "group-123",
- "source": "3rd Avenue",
- "autorestart": {
- "restart": 0,
- "attempt_count": 10,
- "delay": 60
}, - "analytics": [
- {
- "analytic_name": "people_count"
}
], - "notification_policy": {
- "enable": 0,
- "stream_callbacks": [ ]
}
}{- "stream_id": "b5d6fd45-fcca-453d-ac05-3e594054b813",
- "url": "/2/streams/b5d6fd45-fcca-453d-ac05-3e594054b813"
}Get streams according to filters. The results are sorted by stream creation order, the oldest streams shown first.
| account_id | string <uuid> (account_id) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: account_id=557d54ec-29ad-4f3c-93b4-c9092ef12515 Account id of stream owner. |
| stream_ids | Array of strings <uuid> (stream_id) [ items <uuid >^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... ] Example: stream_ids=ae09126e-70a6-49c7-923f-df2320f08639,68b363eb-600a-4e72-afb3-8c4196e385ce Stream ID filter. Only streams with the specified ids will be returned in the response. |
| stream_id__gte | string <uuid> (stream_id) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: stream_id__gte=ae09126e-70a6-49c7-923f-df2320f08639 Stream id lower included bound. |
| stream_id__lt | string <uuid> (stream_id) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: stream_id__lt=ae09126e-70a6-49c7-923f-df2320f08639 Stream id upper excluded bound. |
| names | Array of strings (stream_name) [ items <= 128 characters ] Example: names=name1,name2 Stream name filter. Only streams with the specified names will be returned in the response. |
| reference | string (stream_reference) <= 2083 characters Example: reference=https://upload.wikimedia.org/wikipedia/commons/2xQ2gprbMUePw1s9gw9fvA== Stream reference filter. Only streams with the specified reference will be returned in the response. |
| statuses | Array of integers (stream_status) Items Enum: 0 1 2 3 4 5 6 7 8 Example: statuses=1,2 Stream status filter - comma-separated list of status values. Only streams with the specified statuses will be returned in the response. |
| create_time__gte | string <date-time> (time) Example: create_time__gte=2021-09-21T11:11:41.674Z Entity create time lower including bound filter in RFC 3339 format. Only entities with the creation time greater than or equal to the specified boundary will be returned in the response. |
| create_time__lt | string <date-time> (time) Example: create_time__lt=2021-09-21T19:11:41.674Z Entity create time upper excluding bound filter in RFC 3339 format. Only entities with the creation time lower than the specified boundary will be returned in the response. |
| sources | string Example: sources=cam1,cam2 Comma-separated list of sources. Each stream from result will contain one of the given sources. |
| event_source_groups | string Example: event_source_groups=group-1,group-2 Comma-separated list of source groups. Each stream from result will contain one of the given event source groups. |
| order | string Default: "desc" Enum: "asc" "desc" The sort order. By default, the results will be sorted in order of stream appearance in the database (may not match stream But if some stream ID range filters specified ( |
| order_column | string Enum: "create_time" "name" The sort column.
|
| page | integer >= 1 Default: 1 Page number. |
| page_size | integer [ 1 .. 1000 ] Default: 10 Number of items on page. |
| targets | string Default: "stream_id,account_id,name,description,data,location,source,version,create_time,last_error,groups,status,splittable,analytics,notification_policy" Example: targets=data,notification_policy Comma-separated list of stream target fields. Available targets: WARNING: If |
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "streams": [
- {
- "stream_id": "b668c4a5-2191-476e-a261-3b4f9ce2e25e",
- "account_id": "557d54ec-29ad-4f3c-93b4-c9092ef12515",
- "name": "stream",
- "description": "some description",
- "data": {
- "type": "stream",
- "downloadable": true,
- "timestamp_source": "auto",
- "pts": {
- "start_time": 0
}, - "fps": 30,
- "timeout": 100,
- "orientation_strategy": "static",
- "ffmpeg_kwargs": { },
- "behavior_parameters": {
- "eof_retry": {
- "delay": 1,
- "attempt_count": 65535
}, - "decode_error_retry": {
- "delay": 1,
- "attempt_count": 65535
}
}, - "rotation": 0
}, - "location": {
- "city": "Moscow",
- "area": "Central",
- "district": "Basmanny",
- "street": "Podsosensky lane",
- "house_number": "23 bldg.3",
- "geo_position": {
- "longitude": 36.616,
- "latitude": 55.752
}
}, - "event_source_group": "string",
- "source": "string",
- "version": 1,
- "create_time": "2018-08-11T09:11:41Z",
- "last_error": null,
- "status": 0,
- "analytics": [
- {
- "analytic_name": "some name",
- "parameters": { },
- "autorestart": {
- "restart": 0,
- "attempt_count": 1,
- "delay": 1,
- "current_attempt": 0,
- "last_attempt_time": "2018-08-11T09:11:41Z",
- "status": "disabled"
}, - "status": 0
}
], - "notification_policy": {
- "enable": 0,
- "stream_callbacks": [ ]
}
}
]
}Get the stream by ID.
| stream_id required | string <uuid> (uuid) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: 557d54ec-29ad-4f3c-93b4-c9092ef12515 ID of the stream ( |
| account_id | string <uuid> (account_id) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: account_id=557d54ec-29ad-4f3c-93b4-c9092ef12515 Account id of stream owner. |
| targets | string Default: "stream_id,account_id,name,description,data,location,source,version,create_time,last_error,groups,status,splittable,analytics,notification_policy" Example: targets=data,notification_policy Comma-separated list of stream target fields. Available targets: WARNING: If |
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "stream_id": "b668c4a5-2191-476e-a261-3b4f9ce2e25e",
- "account_id": "557d54ec-29ad-4f3c-93b4-c9092ef12515",
- "name": "stream",
- "description": "some description",
- "data": {
- "type": "stream",
- "downloadable": true,
- "timestamp_source": "auto",
- "pts": {
- "start_time": 0
}, - "fps": 30,
- "timeout": 100,
- "orientation_strategy": "static",
- "ffmpeg_kwargs": { },
- "behavior_parameters": {
- "eof_retry": {
- "delay": 1,
- "attempt_count": 65535
}, - "decode_error_retry": {
- "delay": 1,
- "attempt_count": 65535
}
}, - "rotation": 0
}, - "location": {
- "city": "Moscow",
- "area": "Central",
- "district": "Basmanny",
- "street": "Podsosensky lane",
- "house_number": "23 bldg.3",
- "geo_position": {
- "longitude": 36.616,
- "latitude": 55.752
}
}, - "event_source_group": "string",
- "source": "string",
- "version": 1,
- "create_time": "2018-08-11T09:11:41Z",
- "last_error": null,
- "status": 0,
- "analytics": [
- {
- "analytic_name": "some name",
- "parameters": { },
- "autorestart": {
- "restart": 0,
- "attempt_count": 1,
- "delay": 1,
- "current_attempt": 0,
- "last_attempt_time": "2018-08-11T09:11:41Z",
- "status": "disabled"
}, - "status": 0
}
], - "notification_policy": {
- "enable": 0,
- "stream_callbacks": [ ]
}
}Remove the stream by ID.
| stream_id required | string <uuid> (uuid) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: 557d54ec-29ad-4f3c-93b4-c9092ef12515 ID of the stream ( |
| account_id | string <uuid> (account_id) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: account_id=557d54ec-29ad-4f3c-93b4-c9092ef12515 Account id of stream owner. |
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "error_code": 44001,
- "desc": "Object not found",
- "detail": "Stream with id '7acc35cf-a3b2-4f87-8d8b-5496a2782d37' not found",
}Stop/resume stream processing.
Due to peculiarities of patching implementation it is possible that stream patching can not be performed immediately and 0 patched count will be returned. In this case, repeat the request after a short time.
| stream_id required | string <uuid> (uuid) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: 557d54ec-29ad-4f3c-93b4-c9092ef12515 ID of the stream ( |
| action required | string Enum: "stop" "resume" stop - stop stream processing, stream status will be switched to |
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "patched_count": 1
}Get streams logs according to filters. The results are sorted by log creation order, the new streams logs shown first.
| account_id | string <uuid> (account_id) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: account_id=557d54ec-29ad-4f3c-93b4-c9092ef12515 Account id of stream owner. |
| stream_ids | Array of strings <uuid> (stream_id) [ items <uuid >^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... ] Example: stream_ids=ae09126e-70a6-49c7-923f-df2320f08639,68b363eb-600a-4e72-afb3-8c4196e385ce Stream ID filter. Only streams with the specified ids will be returned in the response. |
| statuses | Array of integers (stream_status) Items Enum: 0 1 2 3 4 5 6 7 8 Example: statuses=1,2 Stream status filter - comma-separated list of status values. Only streams with the specified statuses will be returned in the response. |
| targets | Array of strings Default: "stream_id&targets=status&targets=error&targets=log_time&targets=last_processed_frame_time&targets=analytic_index" Items Enum: "stream_id" "status" "error" "log_time" "last_processed_frame_time" "analytic_index" Example: targets=status List of comma-separated stream logs targets. |
| log_time__lt | string <date-time> (time) Example: log_time__lt=2021-09-21T19:11:41.674Z Stream log record time upper excluding bound filter in RFC 3339 format. Only stream logs with the record time lower than the specified boundary will be returned in the response. |
| log_time__gte | string <date-time> (time) Example: log_time__gte=2021-09-21T11:11:41.674Z Stream log record time lower including bound filter in RFC 3339 format. Only stream log with the record time greater than or equal to the specified boundary will be returned in the response. |
| page | integer >= 1 Default: 1 Page number. |
| page_size | integer [ 1 .. 1000 ] Default: 10 Number of items on page. |
| analytic_indexes | string Example: analytic_indexes=0,1 Comma-separated list of analytics indexes. Each index from result will contain one of the given indexes. |
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "logs": [
- {
- "stream_id": "b668c4a5-2191-476e-a261-3b4f9ce2e25e",
- "log_time": "string",
- "last_processed_frame_time": "30.58",
- "error": null,
- "status": 0,
- "analytic_index": 0
}
]
}Delete streams logs older than specified date excluding last log entry.
Also you can run streams logs auto deletion by using LUNA_STREAMS_LOGS_CLEAR_INTERVAL setting.
For more information see development documentation.
| log_time__lt | string <date-time> (time) Example: log_time__lt=2021-09-21T19:11:41.674Z Stream log record time upper excluding bound filter in RFC 3339 format. Only stream logs with the record time lower than the specified boundary will be deleted. |
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "deleted_count": 1000
}| stream_id required | string <uuid> (stream_id) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: stream_id=557d54ec-29ad-4f3c-93b4-c9092ef12515 Stream ID for events you need to subscribe to. |
| account_id | string <uuid> (account_id) ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]... Example: account_id=557d54ec-29ad-4f3c-93b4-c9092ef12515 Account id of stream owner. |
| analytic_index required | integer (analytic_index) >= 0 Analytics of interest index. |
import asyncio import websockets async def main(): uri = "ws://127.0.0.1:5240/2/ws?stream_id=70c75b04-1ec8-4aa1-930c-ddad9e47b54b&analytic_index=0" # Note filtering by gender! async with websockets.connect(uri) as websocket: while True: data = await websocket.recv() print(data) asyncio.run(main())
{- "stream_status": "in_progress",
- "error": "decoding error",
- "analytics_results": {
- "<analytics_name>": {
- "error": "decoding error"
}
}
}get agent info
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "agent_id": "557d54ec-29ad-4f3c-93b4-c9092ef12515",
- "analytics": [
- {
- "analytics_name": "some name"
}
], - "streams": {
- "count": 1,
- "streams": [
- {
- "stream_id": "557d54ec-29ad-4f3c-93b4-c9092ef12515"
}
]
}, - "groups": [
- {
- "group_id": "426542d6-5509-4e5b-8a01-e2abd5c0a8c6"
}
]
}Get service OpenApi documentation. If Accept request header is of type application/x-yaml,
returns documentation in yaml format or returns html documentation, if Accept-Type is text/html
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
| Accept required | string (accept_docs_handler) Enum: "application/x-yaml" "text/html" acceptable type of receiving data |
{- "error_code": 12024,
- "detail": "Bad/incomplete input data",
- "desc": "Unsupported media type",
}Get sphinx documentation - Development Manual. After the request you will be redirected to the page /docs/dev/index.html
| Accept | string Value: "application/json" Preferred response content type |
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "error_code": 1,
- "detail": "internal server error",
- "desc": "internal server error",
}Get service configuration. Passwords and tokens will be hidden in the response.
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
| Accept | string Enum: "application/json" "text/plain" acceptable type of receiving data |
{- "INFLUX_MONITORING": {
- "SEND_DATA_FOR_MONITORING": 0,
- "ORGANIZATION": "ORGANIZATION_NAME",
- "TOKEN": "********",
- "BUCKET": "luna_monitoring",
- "HOST": "127.0.0.1",
- "PORT": 8086,
- "USE_SSL": 0,
- "FLUSHING_PERIOD": 1
}
}Get list of service plugins
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "plugins": [
- {
- "name": "foo",
- "running": 1
}
]
}get health of service
| include_luna_services | integer Default: 0 Enum: 0 1 Whether to perform healthchecks for dependent luna services. |
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "execution_time": 0.123
}get service version
| Luna-Request-Id | string <timestamp,uuid> ^[0-9]{10},[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4... Example: 1536751345,8b8b5937-2e9c-4e8b-a7a7-5caf86621b5a external request id. Helps to uniquely identify messages that correspond to particular requests, in system logs. If it was not set, system will set it in default format ("timestamp,UUID"). It will be returned with response. |
{- "Version": {
- "api": 1,
- "major": 0,
- "minor": 0,
- "patch": 0
}
}