{"type":"api","title":"Fetch the webhook for a specific id","meta":{"id":"/apps/pubhub/media/orbital-api/1c9ae58c5602552df6194a1545023fdb0c609c3b/6031b5a0-67fa-3480-bf75-857e24b55963","info":{"description":"Documentation of the Orbital API\n\nTo authenticate:\n\n\nFollow steps 1 through 3 from the SecureX Authorization section of this article to generate a SecureX Token.\nhttps://developer.cisco.com/docs/secure-endpoint/#!authentication\n\n\nclick \"Authorize\" button\nIn \"Value\" - enter token from above, prefixed with \"Bearer \" (no quotes)\nClick \"Authorize\", followed by \"Close\"\n\nNow the \"Try it out\" button can work","title":"Orbital API","version":"0.0.1"},"security":[{"AuthorizationHeader":[]}],"openapi":"3.0.3","servers":[{"description":"North America","url":"https://enterprise.orbital.amp.cisco.com/v0"},{"description":"Asia, Pacific, Japan, and China","url":"https://apjc.orbital.amp.cisco.com/v0"},{"description":"Europe","url":"https://eu.orbital.amp.cisco.com/v0"}],"securitySchemes":{"AuthorizationHeader":{"description":"Ex: Bearer \\\u003ctoken\\\u003e","in":"header","name":"authorization","type":"apiKey"}}},"spec":{"description":"Fetch the webhook for a specific id","operationId":"idOfWebhook","parameters":[{"description":"Webhook ID of created webhook","in":"path","name":"webhookid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"application":{"description":"Application is the application that created the webhook.","type":"string"},"config":{"properties":{"accessKey":{"title":"String will be blank in %v, %#v, and Marshalled output.","type":"string","$$ref":"#/components/schemas/String"},"bucket":{"description":"S3 Options","type":"string"},"fingerprint":{"description":"Fingerprint is an optional user supplied cert fingerprint to assist in sever verification.","type":"string"},"format":{"description":"Optional result format type. Allowable values: ctim.","type":"string"},"label":{"description":"Label is an optional user supplied label associated with the webhook, and has no internal use.","type":"string"},"region":{"type":"string"},"secretKey":{"title":"String will be blank in %v, %#v, and Marshalled output.","type":"string","$$ref":"#/components/schemas/String"},"token":{"title":"String will be blank in %v, %#v, and Marshalled output.","type":"string","$$ref":"#/components/schemas/String"},"url":{"description":"URL is the webhook URL, required.","type":"string"}},"title":"Config contains all the user specified options related to a webhook...and allows a Jsonb column.","type":"object","$$ref":"#/components/schemas/Config"},"created":{"description":"Created is the time the webhook was created.","format":"date-time","type":"string"},"creator":{"description":"Creator is the user who created the webhook.","type":"string"},"disabled":{"description":"Disabled webhooks can not be run.","type":"boolean"},"errormessage":{"description":"ErrorMessage is the error associated with the lastStatus if it's a failure.","type":"string"},"id":{"description":"ID is the id of the webhook in the database.","type":"string"},"lastcalled":{"description":"LastCalled is the time the webhook was last called, or the zero time if never called.","format":"date-time","type":"string"},"laststatus":{"description":"LastStatus is the status from the most recent webhook attempt, success, or failure.","type":"string"},"organization":{"description":"Organization is the organization of the user who created the webhook.","type":"string"},"updated":{"description":"Updated is the time the webhook definition was most recently updated.","format":"date-time","type":"string"}},"type":"object","$$ref":"#/components/schemas/WebhookSingleEntityResponseStruct"}}},"description":"","$$ref":"#/components/responses/SingleEntityWebhookResponse"},"404":{"content":{"application/json":{"schema":{"properties":{"errors":{"example":["Webhook not found."],"items":{"type":"string"},"type":"array"}},"type":"object","$$ref":"#/components/schemas/ErrorMsg404WebhookNotFound"}}},"description":"Error: Webhook not found","$$ref":"#/components/responses/ErrorMsg404WebhookNotFound"}},"security":[{"AuthorizationHeader":[]}],"summary":"Fetch the webhook for a specific id","tags":["Webhooks"],"__originalOperationId":"idOfWebhook","method":"get","path":"/webhooks/{webhookid}"}}