openapi: 3.2.0 info: title: Pynt Evidence API version: 0.1.0 description: 'Operations tagged evidence across 2 of this provider''s published API definitions: pynt-openapi.json, pynt-openapi.json. Each path carries the servers of the definition it was published in.' servers: - url: https://api.pynt.io description: Pynt production API tags: - name: evidence paths: /v1/evidence: get: tags: - evidence summary: Get Evidence operationId: get_evidence_v1_evidence_get security: - Bearer Token: [] - Operator Organization Context: [] parameters: - name: scan_id in: query required: true schema: type: string format: uuid title: Scan Id - name: file_name in: query required: true schema: type: string title: File Name responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' put: tags: - evidence summary: Store Evidence operationId: store_evidence_v1_evidence_put security: - API Key: [] - Bearer Token: [] - System API Key: [] - Organization ID: [] - Operator Organization Context: [] requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/StoreEvidenceRequest' responses: '204': description: Successful Response '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' components: schemas: HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type type: object required: - loc - msg - type title: ValidationError StoreEvidenceRequest: properties: scan_id: type: string format: uuid title: Scan Id type: object required: - scan_id title: StoreEvidenceRequest securitySchemes: API_Key: type: apiKey in: header name: X-API-Key Bearer_Token: type: apiKey in: header name: Authorization System_API_Key: type: apiKey in: header name: X-System-API-Key Organization_ID: type: apiKey in: header name: X-Organization-ID Operator_Organization_Context: type: apiKey in: header name: context x-refined-from: - pynt-openapi.json - pynt-openapi.json