openapi: 3.2.0 info: title: Pagopa Signer API version: 1.2.1 description: 'Operations tagged Signer across 2 of this provider''s published API definitions: io-sign-issuer.yaml, pagopa-firma-con-io-issuer-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://api.io.pagopa.it/api/v1/sign description: production - url: http://localhost:7071/api/v1/sign description: local security: - SubscriptionKey: [] tags: - name: Signer paths: /signers: post: operationId: getSignerByFiscalCode tags: - Signer summary: Get Signer By Fiscal COde requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GetSignerByFiscalCodeBody' responses: '201': description: The Signer detail content: application/json: schema: $ref: '#/components/schemas/SignerDetailView' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '429': $ref: '#/components/responses/TooManyRequests' default: $ref: '#/components/responses/Unexpected' servers: - url: https://api.io.pagopa.it/api/v1/sign description: production - url: http://localhost:7071/api/v1/sign description: local components: schemas: ProblemDetail: type: object properties: type: type: string format: uri description: 'An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML).' default: about:blank example: https://example.com/problem/constraint-violation title: type: string description: 'A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable' status: type: integer format: int32 description: The HTTP status code generated by the origin server for this occurrence of the problem. minimum: 100 example: 200 exclusiveMaximum: 600 detail: type: string description: 'A human readable explanation specific to this occurrence of the problem.' example: There was an error processing the request instance: type: string format: uri description: An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. Id: type: string description: Entity Id format: NonEmptyString example: 01ARZ3NDEKTSV4RRFFQ69G5FAV x-import: '@pagopa/ts-commons/lib/strings' SignerDetailView: type: object properties: id: $ref: '#/components/schemas/Id' required: - id FiscalCode: type: string description: User's fiscal code. format: FiscalCode x-import: '@pagopa/ts-commons/lib/strings' example: SPNDNL80R13C555X GetSignerByFiscalCodeBody: type: object properties: fiscal_code: $ref: '#/components/schemas/FiscalCode' required: - fiscal_code responses: Unauthorized: description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ProblemDetail' Unexpected: description: Unexpected error content: application/json: schema: $ref: '#/components/schemas/ProblemDetail' Forbidden: description: You don't have enough privileges to perform this action content: application/json: schema: $ref: '#/components/schemas/ProblemDetail' BadRequest: description: Validation error on body content: application/json: schema: $ref: '#/components/schemas/ProblemDetail' TooManyRequests: description: Too Many Requests content: application/json: schema: $ref: '#/components/schemas/ProblemDetail' securitySchemes: SubscriptionKey: type: apiKey name: Ocp-Apim-Subscription-Key in: header description: The API key can be obtained from the reserved area x-refined-from: - io-sign-issuer.yaml - pagopa-firma-con-io-issuer-openapi.yml