Skip to content

Instantly share code, notes, and snippets.

@xieyubo
Created April 4, 2024 18:12
Show Gist options
  • Select an option

  • Save xieyubo/9c28cf06475e80fe4831e4544889252d to your computer and use it in GitHub Desktop.

Select an option

Save xieyubo/9c28cf06475e80fe4831e4544889252d to your computer and use it in GitHub Desktop.
test.json
{
"openapi": "3.0.1",
"info": {
"title": "Microsoft Content Integrity API",
"version": "v1"
},
"servers": [
{
"url": "https://prov-eastustest-apim-001.azure-api.net/api"
}
],
"paths": {
"/context/v1": {
"get": {
"summary": "Context",
"description": "Gets the users context (for now just tenant information)",
"operationId": "get",
"responses": {
"200": {
"description": null
}
}
}
},
"/kv/v1/certificates": {
"get": {
"summary": "Get certificates",
"operationId": "get-certificates",
"responses": {
"200": {
"description": null
}
}
}
},
"/kv/v1/signature": {
"post": {
"summary": "Sign",
"operationId": "signature-sign",
"responses": {
"200": {
"description": null
}
}
}
},
"/timestamp/v1": {
"post": {
"summary": "Generate",
"operationId": "generate",
"responses": {
"200": {
"description": null
}
}
}
}
},
"components": {
"securitySchemes": {
"apiKeyHeader": {
"type": "apiKey",
"name": "Ocp-Apim-Subscription-Key",
"in": "header"
},
"apiKeyQuery": {
"type": "apiKey",
"name": "subscription-key",
"in": "query"
}
}
},
"security": [
{
"apiKeyHeader": []
},
{
"apiKeyQuery": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment