Webhooks API

Endpoints to manage or kickoff server processes

Successful post

POST /api/v1/webhooks/capture_uploaded

Parameters

Name Description
url Path to sqlite capture file to injest

Request

Headers

Accept: application/json
Content-Type: application/json
Authorization: b53682fe-a196-4801-9a61-8de194cfd4a0
Host: example.org
Cookie: 

Route

POST /api/v1/webhooks/capture_uploaded

Body

{"url":"https://s3.us-west-004.backblazeb2.com/gc-test-private/gc2-5974_s-Boise_v-FireHousefloor3_n-1.sqlite"}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json; charset=utf-8
Vary: Accept, Origin
ETag: W/"b4d951d9c75a34cc099302ed2fe35bcf"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: token=56f53fd7-04ba-4cb1-aab4-e62009896685; path=/api; expires=Fri, 27 Oct 2023 03:53:15 GMT; HttpOnly; SameSite=Lax
_geocam_pm_session=ewCIm30yirqnShgDFijkRkQYgD6FN31ULI05FgsLckIilSZx6q%2BS8CJFnsOTgddGWNxWVTlCicxkK%2FVYmlVqVxjYXsdGdpTFeG8N59xEwFavwVkXK8kRebKdfAcq%2F%2FNAYbpuHtoOl2SoKxooiRqtLClBmR6Igi%2F6yQ6n9rktxv%2BYYppW4v3CAGSCDnpqa5qDlQ%2FXITHshnogTpCnJfZgy7ygEdWXojscz%2BOAqdjQ71ye%2FVvSs5dbyvzmcf%2B3jB25DUbBXNYM52BObk7bUX2RslI3Vht3IlQw8%2FQ%3D--O87zysJ5c%2Bc5vHEq--zqTLkdbbg%2B5f00%2B%2FlaOB%2BA%3D%3D; path=/; HttpOnly; SameSite=Lax
X-Request-Id: eb76f734-f5de-4789-8b9c-e89fb1f0e30e
X-Runtime: 0.904748
Content-Length: 195

Status

200 OK

Body

{
  "token": "56f53fd7-04ba-4cb1-aab4-e62009896685",
  "data": {
    "success": true,
    "url": "https://s3.us-west-004.backblazeb2.com/gc-test-private/gc2-5974_s-Boise_v-FireHousefloor3_n-1.sqlite",
    "queued": true
  }
}