Created
April 4, 2024 18:12
-
-
Save xieyubo/9c28cf06475e80fe4831e4544889252d to your computer and use it in GitHub Desktop.
test.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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