2021-11-01 15:38:34 +00:00
# API for contributors
This document includes the Fleet API routes that are helpful when developing or contributing to Fleet.
2022-07-05 21:42:08 +00:00
Unlike the [Fleet REST API documentation ](../Using-Fleet/REST-API.md ), only the Fleet UI, Fleet Desktop, and `fleetctl` clients use the API routes in this document:
2021-11-01 15:38:34 +00:00
- [Get queries spec ](#get-queries-spec )
- [Get query spec ](#get-query-spec )
- [Apply queries spec ](#apply-queries-spec )
- [Get packs spec ](#get-packs-spec )
- [Apply packs spec ](#apply-packs-spec )
- [Get pack spec by name ](#get-pack-spec-by-name )
2022-03-09 20:41:20 +00:00
- [Apply team spec ](#apply-team-spec )
2021-11-01 15:38:34 +00:00
- [Apply labels spec ](#apply-labels-spec )
- [Get labels spec ](#get-labels-spec )
- [Get label spec ](#get-label-spec )
- [Get enroll secrets ](#get-enroll-secrets )
- [Modify enroll secrets ](#modify-enroll-secrets )
2022-06-10 18:29:45 +00:00
- [Search hosts to target for live query ](#search-targets )
- [Count targets for live query ](#count-targets )
2021-11-01 15:38:34 +00:00
- [Check live query status ](#check-live-query-status )
- [Check result store status ](#check-result-store-status )
2022-03-09 20:41:20 +00:00
- [Retrieve live query results (standard WebSocket API) ](#retrieve-live-query-results-standard-web-socket-api )
- [Retrieve live query results (SockJS) ](#retrieve-live-query-results-sock-js )
2021-11-01 15:38:34 +00:00
- [Run live query by name ](#run-live-query-by-name )
2022-01-11 14:04:29 +00:00
- [Apply policies spec ](#apply-policies-spec )
2022-06-29 12:12:20 +00:00
- [Device-authenticated routes ](#device-authenticated-routes )
- [Get device's host ](#get-devices-host )
- [Refetch device's host ](#refetch-devices-host )
- [Get device's Google Chrome profiles ](#get-devices-google-chrome-profiles )
- [Get device's mobile device management (MDM) and Munki information ](#get-devices-mobile-device-management-mdm-and-munki-information )
- [Get device's policies ](#get-devices-policies )
- [Get device's API features ](#get-devices-api-features )
- [Get device's transparency URL ](#get-devices-transparency-url )
2022-08-16 15:54:41 +00:00
- [Check if an installer exists ](#check-if-an-installer-exists )
2022-07-18 16:44:30 +00:00
- [Download an installer ](#download-an-installer )
2022-08-18 18:58:39 +00:00
- [Setup Fleet instance ](#setup-fleet-instance )
2021-11-01 15:38:34 +00:00
### Get queries spec
Returns a list of all queries in the Fleet instance. Each item returned includes the name, description, and SQL of the query.
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/queries`
2021-11-01 15:38:34 +00:00
#### Parameters
None.
#### Example
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/queries`
2021-11-01 15:38:34 +00:00
##### Default response
`Status: 200`
```json
{
"specs": [
{
"name": "query1",
"description": "query",
"query": "SELECT * FROM osquery_info"
},
{
"name": "osquery_schedule",
"description": "Report performance stats for each file in the query schedule.",
2022-05-03 14:47:31 +00:00
"query": "SELECT name, interval, executions, output_size, wall_time, (user_time/executions) AS avg_user_time, (system_time/executions) AS avg_system_time, average_memory, last_executed FROM osquery_schedule;"
2021-11-01 15:38:34 +00:00
}
2022-05-03 14:47:31 +00:00
]
2021-11-01 15:38:34 +00:00
}
```
### Get query spec
Returns the name, description, and SQL of the query specified by name.
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/queries/{name}`
2021-11-01 15:38:34 +00:00
#### Parameters
| Name | Type | In | Description |
| ---- | ------ | ---- | ------------------------------------ |
| name | string | path | **Required.** The name of the query. |
#### Example
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/queries/query1`
2021-11-01 15:38:34 +00:00
##### Default response
`Status: 200`
```json
{
"specs": {
"name": "query1",
"description": "query",
"query": "SELECT * FROM osquery_info"
}
}
```
### Apply queries spec
Creates and/or modifies the queries included in the specs list. To modify an existing query, the name of the query included in `specs` must already be used by an existing query. If a query with the specified name doesn't exist in Fleet, a new query will be created.
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/queries`
2021-11-01 15:38:34 +00:00
#### Parameters
| Name | Type | In | Description |
| ----- | ---- | ---- | ---------------------------------------------------------------- |
| specs | list | body | **Required.** The list of the queries to be created or modified. |
#### Example
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/queries`
2021-11-01 15:38:34 +00:00
##### Request body
```json
{
"specs": [
{
"name": "new_query",
"description": "This will be a new query because a query with the name 'new_query' doesn't exist in Fleet.",
"query": "SELECT * FROM osquery_info"
},
{
"name": "osquery_schedule",
"description": "This queries description and SQL will be modified because a query with the name 'osquery_schedule' exists in Fleet.",
"query": "SELECT * FROM osquery_info"
}
]
}
```
##### Default response
`Status: 200`
### Get packs spec
Returns the specs for all packs in the Fleet instance.
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/packs`
2021-11-01 15:38:34 +00:00
#### Example
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/packs`
2021-11-01 15:38:34 +00:00
##### Default response
`Status: 200`
```json
{
"specs": [
{
"id": 1,
"name": "pack_1",
"description": "Description",
"disabled": false,
"targets": {
2022-02-21 16:18:58 +00:00
"labels": ["All Hosts"],
"teams": null
2021-11-01 15:38:34 +00:00
},
"queries": [
{
"query": "new_query",
"name": "new_query",
"description": "",
"interval": 456,
"snapshot": false,
"removed": true,
"platform": "windows",
"version": "4.5.0"
},
{
"query": "new_title_for_my_query",
"name": "new_title_for_my_query",
"description": "",
"interval": 677,
"snapshot": true,
"removed": false,
"platform": "",
"version": ""
},
{
"query": "osquery_info",
"name": "osquery_info",
"description": "",
"interval": 6667,
"snapshot": true,
"removed": false,
"platform": "",
"version": ""
},
{
"query": "query1",
"name": "query1",
"description": "",
"interval": 7767,
"snapshot": false,
"removed": true,
"platform": "",
"version": ""
},
{
"query": "osquery_events",
"name": "osquery_events",
"description": "",
"interval": 454,
"snapshot": false,
"removed": true,
"platform": "",
"version": ""
},
{
"query": "osquery_events",
"name": "osquery_events-1",
"description": "",
"interval": 120,
"snapshot": false,
"removed": true,
"platform": "",
"version": ""
}
]
},
{
"id": 2,
"name": "pack_2",
"disabled": false,
"targets": {
2022-02-21 16:18:58 +00:00
"labels": null,
"teams": null
2021-11-01 15:38:34 +00:00
},
"queries": [
{
"query": "new_query",
"name": "new_query",
"description": "",
"interval": 333,
"snapshot": false,
"removed": true,
"platform": "windows",
"version": "4.5.0",
"shard": 10,
"denylist": null
}
]
}
]
}
```
### Apply packs spec
2022-05-12 16:32:54 +00:00
The following returns the specs for all packs in the Fleet instance.
2021-11-01 15:38:34 +00:00
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/packs`
2021-11-01 15:38:34 +00:00
#### Parameters
| Name | Type | In | Description |
| ----- | ---- | ---- | --------------------------------------------------------------------------------------------- |
| specs | list | body | **Required.** A list that includes the specs for each pack to be added to the Fleet instance. |
#### Example
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/packs`
2021-11-01 15:38:34 +00:00
##### Request body
```json
{
"specs": [
{
"id": 1,
"name": "pack_1",
"description": "Description",
"disabled": false,
"targets": {
2022-02-21 16:18:58 +00:00
"labels": ["All Hosts"],
"teams": null
2021-11-01 15:38:34 +00:00
},
"queries": [
{
"query": "new_query",
"name": "new_query",
"description": "",
"interval": 456,
"snapshot": false,
"removed": true
},
{
"query": "new_title_for_my_query",
"name": "new_title_for_my_query",
"description": "",
"interval": 677,
"snapshot": true,
"removed": false
},
{
"query": "osquery_info",
"name": "osquery_info",
"description": "",
"interval": 6667,
"snapshot": true,
"removed": false
},
{
"query": "query1",
"name": "query1",
"description": "",
"interval": 7767,
"snapshot": false,
"removed": true
},
{
"query": "osquery_events",
"name": "osquery_events",
"description": "",
"interval": 454,
"snapshot": false,
"removed": true
},
{
"query": "osquery_events",
"name": "osquery_events-1",
"description": "",
"interval": 120,
"snapshot": false,
"removed": true
}
]
},
{
"id": 2,
"name": "pack_2",
"disabled": false,
"targets": {
2022-02-21 16:18:58 +00:00
"labels": null,
"teams": null
2021-11-01 15:38:34 +00:00
},
"queries": [
{
"query": "new_query",
"name": "new_query",
"description": "",
"interval": 333,
"snapshot": false,
"removed": true,
"platform": "windows"
}
]
}
]
}
```
##### Default response
`Status: 200`
### Get pack spec by name
Returns the spec for the specified pack by pack name.
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/packs/{name}`
2021-11-01 15:38:34 +00:00
#### Parameters
| Name | Type | In | Description |
| ---- | ------ | ---- | ------------------------------ |
| name | string | path | **Required.** The pack's name. |
#### Example
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/packs/pack_1`
2021-11-01 15:38:34 +00:00
##### Default response
`Status: 200`
```json
{
"specs": {
"id": 15,
"name": "pack_1",
"description": "Description",
"disabled": false,
"targets": {
2022-02-21 16:18:58 +00:00
"labels": ["All Hosts"],
"teams": null
2021-11-01 15:38:34 +00:00
},
"queries": [
{
"query": "new_title_for_my_query",
"name": "new_title_for_my_query",
"description": "",
"interval": 677,
"snapshot": true,
"removed": false,
"platform": "",
"version": ""
},
{
"query": "osquery_info",
"name": "osquery_info",
"description": "",
"interval": 6667,
"snapshot": true,
"removed": false,
"platform": "",
"version": ""
},
{
"query": "query1",
"name": "query1",
"description": "",
"interval": 7767,
"snapshot": false,
"removed": true,
"platform": "",
"version": ""
},
{
"query": "osquery_events",
"name": "osquery_events",
"description": "",
"interval": 454,
"snapshot": false,
"removed": true,
"platform": "",
"version": ""
},
{
"query": "osquery_events",
"name": "osquery_events-1",
"description": "",
"interval": 120,
"snapshot": false,
"removed": true,
"platform": "",
"version": ""
}
]
}
}
```
### Apply team spec
_Available in Fleet Premium_
If the `name` specified is associated with an existing team, this API route, completely replaces this team's existing `agent_options` and `secrets` with those that are specified.
If the `name` is not already associated with an existing team, this API route creates a new team with the specified `name` , `agent_options` , and `secrets` .
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/teams`
2021-11-01 15:38:34 +00:00
#### Parameters
2022-09-19 17:53:44 +00:00
| Name | Type | In | Description |
| ------------- | ------ | ---- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| name | string | body | **Required.** The team's name. |
| agent_options | object | body | The agent options spec that is applied to the hosts assigned to the specified to team. These agent options completely override the global agent options specified in the [`GET /api/v1/fleet/config API route` ](#get-configuration ) |
| features | object | body | The features that are applied to the hosts assigned to the specified to team. These features completely override the global features specified in the [`GET /api/v1/fleet/config API route` ](#get-configuration ) |
| secrets | list | body | A list of plain text strings is used as the enroll secrets. Existing secrets are replaced with this list, or left unmodified if this list is empty. |
| force | bool | query | Force apply the options even if there are validation errors. |
| dry_run | bool | query | Validate the options and return any validation errors, but do not apply the changes. |
2021-11-01 15:38:34 +00:00
#### Example
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/teams`
2021-11-01 15:38:34 +00:00
##### Request body
```json
{
"specs": [
{
"name": "Client Platform Engineering",
2022-08-30 11:13:09 +00:00
"features": {
"enable_host_users": false,
"enable_software_inventory": true,
"additional_queries": {
"foo": "SELECT * FROM bar;"
}
},
2021-11-01 15:38:34 +00:00
"agent_options": {
"spec": {
"config": {
"options": {
"logger_plugin": "tls",
"pack_delimiter": "/",
"logger_tls_period": 10,
"distributed_plugin": "tls",
"disable_distributed": false,
2022-04-14 21:33:52 +00:00
"logger_tls_endpoint": "/api/v1/osquery/log",
2021-11-01 15:38:34 +00:00
"distributed_interval": 10,
"distributed_tls_max_attempts": 3
},
"decorators": {
"load": [
"SELECT uuid AS host_uuid FROM system_info;",
"SELECT hostname AS hostname FROM system_info;"
]
}
},
"overrides": {}
}
},
"secrets": [
{
"secret": "fTp52/twaxBU6gIi0J6PHp8o5Sm1k1kn"
},
{
"secret": "bhD5kiX2J+KBgZSk118qO61ZIdX/v8On"
}
]
}
]
}
```
#### Default response
`Status: 200`
### Apply labels spec
Applies the supplied labels specs to Fleet. Each label requires the `name` , and `label_membership_type` properties.
If the `label_membership_type` is set to `dynamic` , the `query` property must also be specified with the value set to a query in SQL syntax.
If the `label_membership_type` is set to `manual` , the `hosts` property must also be specified with the value set to a list of hostnames.
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/labels`
2021-11-01 15:38:34 +00:00
#### Parameters
| Name | Type | In | Description |
| ----- | ---- | ---- | ------------------------------------------------------------------------------------------------------------- |
| specs | list | path | A list of the label to apply. Each label requires the `name` , `query` , and `label_membership_type` properties |
#### Example
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/labels`
2021-11-01 15:38:34 +00:00
##### Request body
```json
{
"specs": [
{
"name": "Ubuntu",
2022-05-12 16:32:54 +00:00
"description": "Filters Ubuntu hosts",
2022-05-03 14:47:31 +00:00
"query": "SELECT 1 FROM os_version WHERE platform = 'ubuntu';",
2021-11-01 15:38:34 +00:00
"label_membership_type": "dynamic"
},
{
"name": "local_machine",
"description": "Includes only my local machine",
"label_membership_type": "manual",
"hosts": ["snacbook-pro.local"]
}
]
}
```
##### Default response
`Status: 200`
### Get labels spec
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/labels`
2021-11-01 15:38:34 +00:00
#### Parameters
None.
#### Example
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/labels`
2021-11-01 15:38:34 +00:00
##### Default response
`Status: 200`
```json
{
"specs": [
{
"id": 6,
"name": "All Hosts",
"description": "All hosts which have enrolled in Fleet",
2022-05-03 14:47:31 +00:00
"query": "SELECT 1;",
2021-11-01 15:38:34 +00:00
"label_type": "builtin",
"label_membership_type": "dynamic"
},
{
"id": 7,
"name": "macOS",
"description": "All macOS hosts",
2022-05-03 14:47:31 +00:00
"query": "SELECT 1 FROM os_version WHERE platform = 'darwin';",
2021-11-01 15:38:34 +00:00
"platform": "darwin",
"label_type": "builtin",
"label_membership_type": "dynamic"
},
{
"id": 8,
"name": "Ubuntu Linux",
"description": "All Ubuntu hosts",
2022-05-03 14:47:31 +00:00
"query": "SELECT 1 FROM os_version WHERE platform = 'ubuntu';",
2021-11-01 15:38:34 +00:00
"platform": "ubuntu",
"label_type": "builtin",
"label_membership_type": "dynamic"
},
{
"id": 9,
"name": "CentOS Linux",
"description": "All CentOS hosts",
2022-05-03 14:47:31 +00:00
"query": "SELECT 1 FROM os_version WHERE platform = 'centos' OR name LIKE '%centos%'",
2021-11-01 15:38:34 +00:00
"label_type": "builtin",
"label_membership_type": "dynamic"
},
{
"id": 10,
"name": "MS Windows",
"description": "All Windows hosts",
2022-05-03 14:47:31 +00:00
"query": "SELECT 1 FROM os_version WHERE platform = 'windows';",
2021-11-01 15:38:34 +00:00
"platform": "windows",
"label_type": "builtin",
"label_membership_type": "dynamic"
},
{
"id": 11,
"name": "Ubuntu",
2022-05-12 16:32:54 +00:00
"description": "Filters Ubuntu hosts",
2022-05-03 14:47:31 +00:00
"query": "SELECT 1 FROM os_version WHERE platform = 'ubuntu';",
2021-11-01 15:38:34 +00:00
"label_membership_type": "dynamic"
}
]
}
```
### Get label spec
Returns the spec for the label specified by name.
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/labels/{name}`
2021-11-01 15:38:34 +00:00
#### Parameters
None.
#### Example
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/labels/local_machine`
2021-11-01 15:38:34 +00:00
##### Default response
`Status: 200`
```json
{
"specs": {
"id": 12,
"name": "local_machine",
"description": "Includes only my local machine",
"query": "",
"label_membership_type": "manual"
}
}
```
### Get enroll secrets
Returns the valid global enroll secrets.
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/enroll_secret`
2021-11-01 15:38:34 +00:00
#### Parameters
None.
#### Example
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/spec/enroll_secret`
2021-11-01 15:38:34 +00:00
##### Default response
`Status: 200`
```json
{
"spec": {
"secrets": [
{
"secret": "fTp52/twaxBU6gIi0J6PHp8o5Sm1k1kn",
"created_at": "2021-01-07T19:40:04Z"
},
{
"secret": "bhD5kiX2J+KBgZSk118qO61ZIdX/v8On",
"created_at": "2021-01-04T21:18:07Z"
}
]
}
}
```
### Modify enroll secrets
2022-05-12 16:32:54 +00:00
This replaces the active global enroll secrets with the secrets specified.
2021-11-01 15:38:34 +00:00
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/enroll_secret`
2021-11-01 15:38:34 +00:00
#### Parameters
| Name | Type | In | Description |
| ------ | ------ | ---- | -------------------------------------------------------------- |
| secret | string | body | **Required.** The plain text string used as the enroll secret. |
#### Example
##### Request body
```json
{
"spec": {
"secrets": [
{
"secret": "fTp52/twaxBU6gIi0J6PHp8o5Sm1k1kn"
}
]
}
}
```
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/enroll_secret`
2021-11-01 15:38:34 +00:00
##### Default response
`Status: 200`
2022-06-10 18:29:45 +00:00
### Search targets
2022-06-14 18:55:59 +00:00
Accepts a search query and a list of host IDs to omit and returns a set of up to ten matching hosts. If
2022-06-10 18:29:45 +00:00
a query ID is provided and the referenced query allows observers to run, targets will include hosts
for which the user has an observer role.
`POST /api/latest/fleet/hosts/search`
#### Parameters
| Name | Type | In | Description |
|-------------------|---------|------|--------------------------------------------------------------------------------------------------------------------------------------------------|
| query | string | body | The query used to identify hosts to target. Searchable items include a host's hostname or IPv4 address. |
2022-06-14 18:55:59 +00:00
| query_id | integer | body | The saved query (if any) that will be run. The `observer_can_run` property on the query and the user's roles affect which targets are included. |
2022-06-10 18:29:45 +00:00
| excluded_host_ids | array | body | The list of host ids to omit from the search results. |
#### Example
`POST /api/v1/fleet/targets/search`
##### Request body
```json
{
"query": "foo",
"query_id": 42,
"selected": {
"hosts": [],
"labels": [],
"teams": [1]
}
}
```
##### Default response
```json
{
"targets": {
"hosts": [
{
"created_at": "2021-02-03T16:11:43Z",
"updated_at": "2021-02-03T21:58:19Z",
"id": 1337,
"detail_updated_at": "2021-02-03T21:58:10Z",
"label_updated_at": "2021-02-03T21:58:10Z",
"last_enrolled_at": "2021-02-03T16:11:43Z",
"seen_time": "2021-02-03T21:58:20Z",
"hostname": "foof41482833",
"uuid": "a2064cef-0000-0000-afb9-283e3c1d487e",
"platform": "rhel",
"osquery_version": "4.5.1",
"os_version": "CentOS 6.10.0",
"build": "",
"platform_like": "rhel",
"code_name": "",
"uptime": 32688000000000,
"memory": 2086899712,
"cpu_type": "x86_64",
"cpu_subtype": "142",
"cpu_brand": "Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz",
"cpu_physical_cores": 4,
"cpu_logical_cores": 4,
"hardware_vendor": "",
"hardware_model": "",
"hardware_version": "",
"hardware_serial": "",
"computer_name": "foof41482833",
"primary_ip": "172.20.0.3",
"primary_mac": "02:42:ac:14:00:03",
"distributed_interval": 10,
"config_tls_refresh": 10,
"logger_tls_period": 10,
"additional": {},
"status": "offline",
"display_text": "foof41482833"
}
]
}
}
```
### Count targets
Counts the number of online and offline hosts included in a given set of selected targets.
`POST /api/latest/fleet/targets/count`
#### Parameters
| Name | Type | In | Description |
|----------|---------|------|-----------------------------------------------------------------------------------------------------------------------------------------------------|
| query_id | integer | body | The saved query (if any) that will be run. The `observer_can_run` property on the query and the user's roles determine which targets are included. |
| selected | object | body | The object includes lists of selected host IDs, label IDs, and team IDs. |
#### Example
`POST /api/latest/fleet/targets/count`
##### Request body
```json
{
"query_id": 1337,
"selected": {
"hosts": [],
"labels": [42],
"teams": []
}
}
```
##### Default response
```json
{
"targets_count": 813,
"targets_offline": 813,
"targets_online": 0
}
```
2022-03-09 20:41:20 +00:00
### Check live query status
2021-11-01 15:38:34 +00:00
2022-05-12 16:32:54 +00:00
This checks the status of the Fleet's ability to run a live query. If an error is present in the response, Fleet won't be able to run a live query successfully. The Fleet UI uses this endpoint to make sure that the Fleet instance is correctly configured to run live queries.
2021-11-01 15:38:34 +00:00
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/status/live_query`
2021-11-01 15:38:34 +00:00
#### Parameters
None.
#### Example
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/status/live_query`
2021-11-01 15:38:34 +00:00
##### Default response
`Status: 200`
2022-03-09 20:41:20 +00:00
### Check result store status
2021-11-01 15:38:34 +00:00
2022-05-12 16:32:54 +00:00
This checks Fleet's result store status. If an error is present in the response, Fleet won't be able to run a live query successfully. The Fleet UI uses this endpoint to make sure that the Fleet instance is correctly configured to run live queries.
2021-11-01 15:38:34 +00:00
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/status/result_store`
2021-11-01 15:38:34 +00:00
#### Parameters
None.
#### Example
2022-04-14 21:33:52 +00:00
`GET /api/v1/fleet/status/result_store`
2021-11-01 15:38:34 +00:00
##### Default response
`Status: 200`
### Run live query
2022-05-31 13:54:03 +00:00
Runs the specified query as a live query on the specified hosts or group of hosts and returns a new live query campaign. Individual hosts must be specified with the host's ID. Label IDs also specify groups of hosts.
2021-11-01 15:38:34 +00:00
2022-05-31 13:54:03 +00:00
After you initiate the query, [get results via WebSocket ](#retrieve-live-query-results-standard-websocket-api ).
2021-11-01 15:38:34 +00:00
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/queries/run`
2021-11-01 15:38:34 +00:00
#### Parameters
| Name | Type | In | Description |
| -------- | ------- | ---- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| query | string | body | The SQL if using a custom query. |
| query_id | integer | body | The saved query (if any) that will be run. Required if running query as an observer. The `observer_can_run` property on the query effects which targets are included. |
| selected | object | body | **Required.** The desired targets for the query specified by ID. This object can contain `hosts` , `labels` , and/or `teams` properties. See examples below. |
One of `query` and `query_id` must be specified.
#### Example with one host targeted by ID
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/queries/run`
2021-11-01 15:38:34 +00:00
##### Request body
```json
{
2022-05-03 14:47:31 +00:00
"query": "SELECT instance_id FROM system_info",
2021-11-01 15:38:34 +00:00
"selected": {
"hosts": [171]
}
}
```
##### Default response
`Status: 200`
```json
{
"campaign": {
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "0001-01-01T00:00:00Z",
"Metrics": {
"TotalHosts": 1,
"OnlineHosts": 0,
"OfflineHosts": 1,
"MissingInActionHosts": 0,
"NewHosts": 1
},
"id": 1,
"query_id": 3,
"status": 0,
"user_id": 1
}
}
```
#### Example with multiple hosts targeted by label ID
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/queries/run`
2021-11-01 15:38:34 +00:00
##### Request body
```json
{
2022-05-03 14:47:31 +00:00
"query": "SELECT instance_id FROM system_info;",
2021-11-01 15:38:34 +00:00
"selected": {
"labels": [7]
}
}
```
##### Default response
`Status: 200`
```json
{
"campaign": {
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "0001-01-01T00:00:00Z",
"Metrics": {
"TotalHosts": 102,
"OnlineHosts": 0,
"OfflineHosts": 24,
"MissingInActionHosts": 0,
"NewHosts": 0
},
"id": 2,
"query_id": 3,
"status": 0,
"user_id": 1
}
}
```
### Run live query by name
Runs the specified saved query as a live query on the specified targets. Returns a new live query campaign. Individual hosts must be specified with the host's hostname. Groups of hosts are specified by label name.
After the query has been initiated, [get results via WebSocket ](#retrieve-live-query-results-standard-websocket-api ).
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/queries/run_by_names`
2021-11-01 15:38:34 +00:00
#### Parameters
| Name | Type | In | Description |
| -------- | ------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| query | string | body | The SQL of the query. |
| query_id | integer | body | The saved query (if any) that will be run. The `observer_can_run` property on the query effects which targets are included. |
| selected | object | body | **Required.** The desired targets for the query specified by name. This object can contain `hosts` , `labels` , and/or `teams` properties. See examples below. |
One of `query` and `query_id` must be specified.
#### Example with one host targeted by hostname
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/queries/run_by_names`
2021-11-01 15:38:34 +00:00
##### Request body
```json
{
"query_id": 1,
"selected": {
"hosts": ["macbook-pro.local"]
}
}
```
##### Default response
`Status: 200`
```json
{
"campaign": {
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "0001-01-01T00:00:00Z",
"Metrics": {
"TotalHosts": 1,
"OnlineHosts": 0,
"OfflineHosts": 1,
"MissingInActionHosts": 0,
"NewHosts": 1
},
"id": 1,
"query_id": 3,
"status": 0,
"user_id": 1
}
}
```
#### Example with multiple hosts targeted by label name
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/queries/run_by_names`
2021-11-01 15:38:34 +00:00
##### Request body
```json
{
2022-05-03 14:47:31 +00:00
"query": "SELECT instance_id FROM system_info",
2021-11-01 15:38:34 +00:00
"selected": {
"labels": ["All Hosts"]
}
}
```
##### Default response
`Status: 200`
```json
{
"campaign": {
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "0001-01-01T00:00:00Z",
"Metrics": {
"TotalHosts": 102,
"OnlineHosts": 0,
"OfflineHosts": 24,
"MissingInActionHosts": 0,
"NewHosts": 1
},
"id": 2,
"query_id": 3,
"status": 0,
"user_id": 1
}
}
```
### Retrieve live query results (standard WebSocket API)
You can retrieve the results of a live query using the [standard WebSocket API ](#https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications ).
Before you retrieve the live query results, you must create a live query campaign by running the live query. Use the [Run live query ](#run-live-query ) or [Run live query by name ](#run-live-query-by-name ) endpoints to create a live query campaign.
Note that live queries are automatically cancelled if this method is not called to start retrieving the results within 60 seconds of initiating the query.
2022-05-16 15:20:54 +00:00
`/api/v1/fleet/results/websocket`
2021-11-01 15:38:34 +00:00
### Parameters
| Name | Type | In | Description |
| ---------- | ------- | --- | ---------------------------------------------------------------- |
| token | string | | **Required.** The token used to authenticate with the Fleet API. |
| campaignID | integer | | **Required.** The ID of the live query campaign. |
### Example
#### Example script to handle request and response
```
2022-05-16 15:20:54 +00:00
const socket = new WebSocket('wss://< your-base-url > /api/v1/fleet/results/websocket');
2021-11-01 15:38:34 +00:00
socket.onopen = () => {
socket.send(JSON.stringify({ type: 'auth', data: { token: < auth-token > } }));
socket.send(JSON.stringify({ type: 'select_campaign', data: { campaign_id: < campaign-id > } }));
};
socket.onmessage = ({ data }) => {
console.log(data);
const message = JSON.parse(data);
if (message.type === 'status' & & message.data.status === 'finished') {
socket.close();
}
}
```
### Detailed request and response walkthrough with example data
#### webSocket.onopen()
##### Response data
```json
o
```
#### webSocket.send()
##### Request data
```json
[
{
"type": "auth",
"data": { "token": < insert_token_here > }
}
]
```
```json
[
{
"type": "select_campaign",
"data": { "campaign_id": 12 }
}
]
```
#### webSocket.onmessage()
##### Response data
```json
// Sends the total number of hosts targeted and segments them by status
[
{
"type": "totals",
"data": {
"count": 24,
"online": 6,
"offline": 18,
"missing_in_action": 0
}
}
]
```
```json
// Sends the expected results, actual results so far, and the status of the live query
[
{
"type": "status",
"data": {
"expected_results": 6,
"actual_results": 0,
"status": "pending"
}
}
]
```
```json
// Sends the result for a given host
[
{
"type": "result",
"data": {
"distributed_query_execution_id": 39,
"host": {
// host data
},
"rows": [
// query results data for the given host
],
"error": null
}
}
]
```
```json
// Sends the status of "finished" when messages with the results for all expected hosts have been sent
[
{
"type": "status",
"data": {
"expected_results": 6,
"actual_results": 6,
"status": "finished"
}
}
]
```
### Retrieve live query results (SockJS)
You can also retrieve live query results with a [SockJS client ](https://github.com/sockjs/sockjs-client ). The script to handle the request and response messages will look similar to the standard WebSocket API script with slight variations. For example, the constructor used for SockJS is `SockJS` while the constructor used for the standard WebSocket API is `WebSocket` .
Note that SockJS has been found to be substantially less reliable than the [standard WebSockets approach ](#retrieve-live-query-results-standard-websocket-api ).
`/api/v1/fleet/results/`
### Parameters
| Name | Type | In | Description |
| ---------- | ------- | --- | ---------------------------------------------------------------- |
| token | string | | **Required.** The token used to authenticate with the Fleet API. |
| campaignID | integer | | **Required.** The ID of the live query campaign. |
### Example
#### Example script to handle request and response
```
const socket = new SockJS(`< your-base-url > /api/v1/fleet/results`, undefined, {});
socket.onopen = () => {
socket.send(JSON.stringify({ type: 'auth', data: { token: < token > } }));
socket.send(JSON.stringify({ type: 'select_campaign', data: { campaign_id: < campaignID > } }));
};
socket.onmessage = ({ data }) => {
console.log(data);
const message = JSON.parse(data);
if (message.type === 'status' & & message.data.status === 'finished') {
socket.close();
}
}
```
##### Detailed request and response walkthrough
#### socket.onopen()
##### Response data
```json
o
```
#### socket.send()
##### Request data
```json
[
{
"type": "auth",
"data": { "token": < insert_token_here > }
}
]
```
```json
[
{
"type": "select_campaign",
"data": { "campaign_id": 12 }
}
]
```
#### socket.onmessage()
##### Response data
```json
// Sends the total number of hosts targeted and segments them by status
[
{
"type": "totals",
"data": {
"count": 24,
"online": 6,
"offline": 18,
"missing_in_action": 0
}
}
]
```
```json
// Sends the expected results, actual results so far, and the status of the live query
[
{
"type": "status",
"data": {
"expected_results": 6,
"actual_results": 0,
"status": "pending"
}
}
]
```
```json
// Sends the result for a given host
[
{
"type": "result",
"data": {
"distributed_query_execution_id": 39,
"host": {
// host data
},
"rows": [
// query results data for the given host
],
"error": null
}
}
]
```
```json
// Sends the status of "finished" when messages with the results for all expected hosts have been sent
[
{
"type": "status",
"data": {
"expected_results": 6,
"actual_results": 6,
"status": "finished"
}
}
]
```
2022-01-11 14:04:29 +00:00
### Apply policies spec
Creates and/or modifies the policies included in the specs list. To modify an existing policy, the name of the query included in `specs` must already be used by an existing policy. If a policy with the specified name doesn't exist in Fleet, a new policy will be created.
NOTE: when updating a policy, team and platform will be ignored.
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/policies`
2022-01-11 14:04:29 +00:00
#### Parameters
| Name | Type | In | Description |
| ----- | ---- | ---- | ----------------------------------------------------------------- |
| specs | list | body | **Required.** The list of the policies to be created or modified. |
#### Example
2022-04-14 21:33:52 +00:00
`POST /api/v1/fleet/spec/policies`
2022-01-11 14:04:29 +00:00
##### Request body
```json
{
"specs": [
{
"name": "new policy",
"description": "This will be a new policy because a policy with the name 'new policy' doesn't exist in Fleet.",
"query": "SELECT * FROM osquery_info",
"resolution": "some resolution steps here"
},
{
2022-05-12 16:32:54 +00:00
"name": "Is FileVault enabled on macOS devices?",
2022-01-11 14:04:29 +00:00
"query": "SELECT 1 FROM disk_encryption WHERE user_uuid IS NOT “” AND filevault_status = ‘ on’ LIMIT 1;",
2022-05-12 16:32:54 +00:00
"description": "Checks to make sure that the FileVault feature is enabled on macOS devices.",
2022-01-11 14:04:29 +00:00
"resolution": "Choose Apple menu > System Preferences, then click Security & Privacy. Click the FileVault tab. Click the Lock icon, then enter an administrator name and password. Click Turn On FileVault.",
2022-06-29 12:12:20 +00:00
"platform": "darwin"
2022-01-11 14:04:29 +00:00
}
]
}
```
##### Default response
2022-02-14 14:49:43 +00:00
`Status: 200`
2022-02-23 18:17:55 +00:00
2022-06-29 12:12:20 +00:00
### Device-authenticated routes
2022-07-05 21:42:08 +00:00
Device-authenticated routes are routes used by the Fleet Desktop application. Unlike most other routes, Fleet user's API token does not authenticate them. They use a device-specific token.
2022-06-29 12:12:20 +00:00
#### Get device's host
Returns the host information about the device that makes the request.
`GET /api/v1/fleet/device/{token}`
##### Parameters
| Name | Type | In | Description |
| --------------- | ------ | ----- | ---------------------------------------------------|
| token | string | path | The device's authentication token. |
##### Example
`GET /api/v1/fleet/device/abcdef012456789`
##### Default response
`Status: 200`
```json
{
"host": {
"created_at": "2021-08-19T02:02:22Z",
"updated_at": "2021-08-19T21:14:58Z",
"software": [
{
"id": 408,
"name": "osquery",
"version": "4.5.1",
"source": "rpm_packages",
"generated_cpe": "",
"vulnerabilities": null
},
{
"id": 1146,
"name": "tar",
"version": "1.30",
"source": "rpm_packages",
"generated_cpe": "",
"vulnerabilities": null
},
{
"id": 321,
"name": "SomeApp.app",
"version": "1.0",
"source": "apps",
"bundle_identifier": "com.some.app",
"last_opened_at": "2021-08-18T21:14:00Z",
"generated_cpe": "",
"vulnerabilities": null
}
],
"id": 1,
"detail_updated_at": "2021-08-19T21:07:53Z",
"label_updated_at": "2021-08-19T21:07:53Z",
"last_enrolled_at": "2021-08-19T02:02:22Z",
"seen_time": "2021-08-19T21:14:58Z",
"refetch_requested": false,
"hostname": "23cfc9caacf0",
"uuid": "309a4b7d-0000-0000-8e7f-26ae0815ede8",
"platform": "rhel",
"osquery_version": "4.5.1",
"os_version": "CentOS Linux 8.3.2011",
"build": "",
"platform_like": "rhel",
"code_name": "",
"uptime": 210671000000000,
"memory": 16788398080,
"cpu_type": "x86_64",
"cpu_subtype": "158",
"cpu_brand": "Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz",
"cpu_physical_cores": 12,
"cpu_logical_cores": 12,
"hardware_vendor": "",
"hardware_model": "",
"hardware_version": "",
"hardware_serial": "",
"computer_name": "23cfc9caacf0",
"public_ip": "",
"primary_ip": "172.27.0.6",
"primary_mac": "02:42:ac:1b:00:06",
"distributed_interval": 10,
"config_tls_refresh": 10,
"logger_tls_period": 10,
"team_id": null,
"pack_stats": null,
"team_name": null,
"additional": {},
"gigs_disk_space_available": 46.1,
"percent_disk_space_available": 73,
"users": [
{
"uid": 0,
"username": "root",
"type": "",
"groupname": "root",
"shell": "/bin/bash"
},
{
"uid": 1,
"username": "bin",
"type": "",
"groupname": "bin",
"shell": "/sbin/nologin"
}
],
"labels": [
{
"created_at": "2021-08-19T02:02:17Z",
"updated_at": "2021-08-19T02:02:17Z",
"id": 6,
"name": "All Hosts",
"description": "All hosts which have enrolled in Fleet",
"query": "SELECT 1;",
"platform": "",
"label_type": "builtin",
"label_membership_type": "dynamic"
},
{
"created_at": "2021-08-19T02:02:17Z",
"updated_at": "2021-08-19T02:02:17Z",
"id": 9,
"name": "CentOS Linux",
"description": "All CentOS hosts",
"query": "SELECT 1 FROM os_version WHERE platform = 'centos' OR name LIKE '%centos%'",
"platform": "",
"label_type": "builtin",
"label_membership_type": "dynamic"
},
{
"created_at": "2021-08-19T02:02:17Z",
"updated_at": "2021-08-19T02:02:17Z",
"id": 12,
"name": "All Linux",
"description": "All Linux distributions",
"query": "SELECT 1 FROM osquery_info WHERE build_platform LIKE '%ubuntu%' OR build_distro LIKE '%centos%';",
"platform": "",
"label_type": "builtin",
"label_membership_type": "dynamic"
}
],
"packs": [],
"status": "online",
"display_text": "23cfc9caacf0",
"batteries": [
{
"cycle_count": 999,
"health": "Good"
}
]
},
"org_logo_url": "https://example.com/logo.jpg",
"license": {
"tier": "free",
"expiration": "2031-01-01T00:00:00Z"
}
}
```
#### Refetch device's host
Same as [Refetch host route ](../Using-Fleet/REST-API.md#refetch-host ) for the current device.
`POST /api/v1/fleet/device/{token}/refetch`
##### Parameters
| Name | Type | In | Description |
| --------------- | ------ | ----- | ---------------------------------------|
| token | string | path | The device's authentication token. |
#### Get device's Google Chrome profiles
Same as [Get host's Google Chrome profiles ](../Using-Fleet/REST-API.md#get-hosts-google-chrome-profiles ) for the current device.
`GET /api/v1/fleet/device/{token}/device_mapping`
##### Parameters
| Name | Type | In | Description |
| --------------- | ------ | ----- | ---------------------------------------|
| token | string | path | The device's authentication token. |
#### Get device's mobile device management (MDM) and Munki information
Same as [Get host's mobile device management and Munki information ](../Using-Fleet/REST-API.md#get-hosts-mobile-device-management-mdm-and-munki-information ) for the current device.
`GET /api/v1/fleet/device/{token}/macadmins`
##### Parameters
| Name | Type | In | Description |
| --------------- | ------ | ----- | ---------------------------------------|
| token | string | path | The device's authentication token. |
2022-09-12 19:37:38 +00:00
#### Get Fleet Desktop information
_Available in Fleet Premium_
Gets all information required by Fleet Desktop to notify the user if there are any failing policies.
`GET /api/v1/fleet/device/{token}/desktop`
##### Parameters
| Name | Type | In | Description |
| --------------- | ------ | ----- | ---------------------------------------|
| token | string | path | The device's authentication token. |
##### Example
`GET /api/v1/fleet/device/abcdef012456789/desktop`
##### Default response
`Status: 200`
```json
{
"failing_policies_count": 3
}
```
2022-06-29 12:12:20 +00:00
#### Get device's policies
_Available in Fleet Premium_
Lists the policies applied to the current device.
`GET /api/v1/fleet/device/{token}/policies`
##### Parameters
| Name | Type | In | Description |
| --------------- | ------ | ----- | ---------------------------------------|
| token | string | path | The device's authentication token. |
##### Example
`GET /api/v1/fleet/device/abcdef012456789/policies`
##### Default response
`Status: 200`
```json
{
"policies": [
{
"id": 1,
"name": "SomeQuery",
"query": "SELECT * FROM foo;",
"description": "this is a query",
"resolution": "fix with these steps...",
"platform": "windows,linux",
"response": "pass"
},
{
"id": 2,
"name": "SomeQuery2",
"query": "SELECT * FROM bar;",
"description": "this is another query",
"resolution": "fix with these other steps...",
"platform": "darwin",
"response": "fail"
},
{
"id": 3,
"name": "SomeQuery3",
"query": "SELECT * FROM baz;",
"description": "",
"resolution": "",
"platform": "",
"response": ""
}
]
}
```
#### Get device's API features
2022-07-05 21:42:08 +00:00
This supports the dynamic discovery of API features supported by the server for device-authenticated routes. This allows supporting different versions of Fleet Desktop and Fleet server instances (older or newer) while supporting the evolution of the API features. With this mechanism, an older Fleet Desktop can ignore features it doesn't know about, and a newer one can avoid requesting features about which the server doesn't know.
2022-06-29 12:12:20 +00:00
`GET /api/v1/fleet/device/{token}/api_features`
##### Parameters
| Name | Type | In | Description |
| --------------- | ------ | ----- | ---------------------------------------|
| token | string | path | The device's authentication token. |
##### Example
`GET /api/v1/fleet/device/abcdef012456789/api_features`
##### Default response
`Status: 200`
```json
{
"features": {}
}
```
#### Get device's transparency URL
Returns the URL to open when clicking the "Transparency" menu item in Fleet Desktop. Note that _Fleet Premium_ is required to configure a custom transparency URL.
`GET /api/v1/fleet/device/{token}/transparency`
##### Parameters
| Name | Type | In | Description |
| --------------- | ------ | ----- | ---------------------------------------|
| token | string | path | The device's authentication token. |
##### Example
`GET /api/v1/fleet/device/abcdef012456789/transparency`
##### Default response
`Status: 307`
Redirects to the transparency URL.
2022-08-02 13:51:03 +00:00
### Download an installer
2022-07-18 16:44:30 +00:00
Downloads a pre-built fleet-osquery installer with the given parameters.
2022-08-16 15:54:41 +00:00
`POST /api/_version_/fleet/download_installer/{kind}`
2022-07-18 16:44:30 +00:00
#### Parameters
2022-08-16 15:54:41 +00:00
| Name | Type | In | Description |
| ------------- | ------- | ---------------------- | ------------------------------------------------------------------ |
| kind | string | path | The installer kind: pkg, msi, deb or rpm. |
| enroll_secret | string | x-www-form-urlencoded | The global enroll secret. |
| token | string | x-www-form-urlencoded | The authentication token. |
| desktop | boolean | x-www-form-urlencoded | Set to `true` to ask for an installer that includes Fleet Desktop. |
2022-07-18 16:44:30 +00:00
##### Default response
```
Status: 200
Content-Type: application/octet-stream
Content-Disposition: attachment
Content-Length: < length >
Body: < blob >
```
If an installer with the provided parameters is found, the installer is returned as a binary blob in the body of the response.
##### Installer doesn't exist
`Status: 400`
2022-07-21 15:44:19 +00:00
This error occurs if an installer with the provided parameters doesn't exist.
2022-07-18 16:44:30 +00:00
2022-09-19 17:53:44 +00:00
### Check if an installer exists
2022-08-16 15:54:41 +00:00
Checks if a pre-built fleet-osquery installer with the given parameters exists.
`HEAD /api/_version_/fleet/download_installer/{kind}`
#### Parameters
| Name | Type | In | Description |
| ------------- | ------- | ----- | ------------------------------------------------------------------ |
| kind | string | path | The installer kind: pkg, msi, deb or rpm. |
| enroll_secret | string | query | The global enroll secret. |
| desktop | boolean | query | Set to `true` to ask for an installer that includes Fleet Desktop. |
##### Default response
`Status: 200`
If an installer with the provided parameters is found.
##### Installer doesn't exist
`Status: 400`
If an installer with the provided parameters doesn't exist.
2022-08-18 18:58:39 +00:00
### Setup Fleet instance
Sets up a new Fleet instance with the given parameters.
`POST /api/_version_/setup`
#### Parameters
| Name | Type | In | Description |
| ------------- | ------- | ---------------------- | ------------------------------------------------------------------ |
| admin | object | body | **Required.** Contains the following admin user details: `admin` , `email` , `name` , `password` , and `password_confirmation` . |
| org_info | object | body | **Required.** Contains the following organizational details: `org_name` . |
| server_url | string | body | **Required.** The URL of the Fleet instance. |
##### Request body
```json
{
"admin": {
"admin": true,
"email": "janedoe@example.com",
"name": "Jane Doe",
"password": "password!234",
"password_confirmation": "password!234"
},
"org_info": {
"org_name": "Fleet Device Management"
},
"server_url": "https://localhost:8080"
}
```
##### Default response
`Status: 200`
If the Fleet instance is provided required parameters to complete setup.
```json
{
"admin": {
"created_at": "2021-01-07T19:40:04Z",
"updated_at": "2021-01-07T19:40:04Z",
"id": 1,
"name": "Jane Doe",
"email": "janedoe@example.com",
"force_password_reset": false,
"gravatar_url": "",
"sso_enabled": false,
"global_role": "admin",
"api_only": false,
"teams": []
},
"org_info": {
"org_name": "Fleet Device Management",
"org_logo_url": "https://fleetdm.com/logo.png"
},
"server_url": "https://localhost:8080",
"osquery_enroll_secret": null,
"token": "ur4RWGBeiNmNzer/dnGzgUQ+jxrJe19xuHg/LhLkbhuZMQu35scyBHUHs68+RJxZynxQnuTz4WTHXayAJJaGgg=="
}
```
2022-08-16 15:54:41 +00:00
2022-02-23 18:17:55 +00:00
< meta name = "pageOrderInSection" value = "800" >