Upload API endpoint information

This operation allows you to create or update endpoint information for the specified API asset.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required

SiteID specifies the API asset where the definition will be stored

Query Params
string
enum

UploadMethod specifies how to handle the currently stored endpoints on upload

Allowed:
Body Params

Body of the request holds the definition that is stored for the specified site and from which any endpoints marked with x-wh-scan true at operation level are parsed and enabled for scanning. Accepted definitions types are OpenAPI3 (json/yaml), Swagger2 (json/yaml) and Postman Collections (json)

components
object
externalDocs
object
info
object
required
string
required
paths
object
required
security
array of objects
security
servers
array of objects
servers
tags
array of objects
tags
Responses

401

UnauthorizedResponse signals an unauthorized API access

403

ForbiddenResponse signals a request for a resource that does not exist or is not authorized

404

NotFoundResponse indicates a request for a resource that does not exist

500

GenericError generic error

Language
LoadingLoading…
Response
Choose an example:
application/json