Save an ingest path policy for a site. If the resolved policy differs from the current policy, append a revision. If it matches, return the current revision without appending.
Allowed only on BYOS sites. Stores the authored rules without rewriting constant nameTemplate rules to device IDs and without creating devices. An empty rules list is legal and ignores every path.
Security
ApiKey(Required scopes: sites.update)
- Productionhttps://api.foxglove.dev/v1/sites/{id}/ingest-path-policy
{ "schemaVersion": 1, "rules": [ { … } ], "previousRevision": 0 }
The saved ingest path policy revision
Response
{ "revision": 0, "createdAt": "2019-08-24T14:15:22Z", "policy": { "schemaVersion": 1, "rules": [ … ] } }