Refresh a protocol from its URL
Fetches the protocol from its stored URL and stores the document as the next revision when it changed and every check passes, including the compatibility of every backend that references the protocol. Redirects are not followed — the URL must answer 200 with the JSON document. With dry_run, nothing is written.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Protocol local ID
Body
Refresh options
Options of a protocol refresh.
Run every check and report update_available without writing.
Response
Refresh result
Outcome of a protocol refresh.
true
Summary of an imported or created protocol.
unchanged: the URL serves the stored document. update_available: a dry run found a changed document that passes every check. updated: the changed document was stored as the next revision.
unchanged, update_available, updated "update_available"