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.

Revisions

  1. xieyubo renamed this gist Apr 4, 2024. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. xieyubo created this gist Apr 4, 2024.
    81 changes: 81 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,81 @@
    {
    "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": []
    }
    ]
    }