Skip to content
Snippets Groups Projects
submission-api.yaml 7.26 KiB
Newer Older
openapi: 3.0.0
Jonas Gröger's avatar
Jonas Gröger committed
  version: 'API_VERSION'
  title: Submission API für Antragsverfahren und Berichtspflichten
    Die FIT-Connect Submission API ermöglicht das Einreichen von Anträgen und Berichten aus vorgelagerten Systemen (z. B. Onlineantragsdiensten, Fachportalen oder Berichtssystemen) an die Systeme der Verwaltung zur elektronischen Verfahrensbearbeitung (z. B. Fachverfahren, Dokumentenmanagementsysteme oder Prozessplattformen).
  contact:
    name: FITKO
Marco Holz's avatar
Marco Holz committed
    url: https://docs.fitko.de/fit-connect/contact
  license:
    url: 'https://creativecommons.org/licenses/by-sa/4.0/'
    name: Creative Commons Attribution Share Alike 4.0 (CC BY-SA 4.0)
Marco Holz's avatar
Marco Holz committed
  termsOfService: https://docs.fitko.de/fit-connect/docs/details/terms-of-use-testing/
  - url: 'https://submission-api-testing.fit-connect.fitko.dev'
    description: "FIT-Connect Testumgebung"
  description: FIT-Connect-Dokumentationsportal mit Dokumentation zur API-Nutzung
  url: https://docs.fitko.de/fit-connect
  - name: Zustellpunktverwaltung
    description: >-
      **DEPRECATED**: Die gesamte Gruppe wird durch die Self-Service API ersetzt.
      Unter dieser Gruppe sind alle Endpunkte organisiert, über welche Zustellpunkte verwaltet werden können.
  - name: Einreichungsübermittlung
    description: Diese Gruppe enthält alle Endpunkte, die für das Versenden von Einreichungen an einen Zustellpunkt notwendig sind.
    externalDocs:
      url: https://docs.fitko.de/fit-connect/docs/getting-started/sending/overview
  - name: Einreichungsempfang
    description: Diese Gruppe umfasst alle Endpunkte, die für den Empfang und die Abfrage von Einreichungen notwendig sind.
    externalDocs:
      url: https://docs.fitko.de/fit-connect/docs/getting-started/receiving/overview
  - name: Technisch
    description: Unter dieser Gruppe sind alle Endpunkte organisiert, die technische Informationen über die Instanz des Zustelldienstes liefern.
  - name: Internal
    description: Unter dieser Gruppe werden Endpunkte gelistet, die FIT-Connect intern sind und API-Clients nicht zur Verfügung stehen.
  /v1/destinations:
    $ref: './endpoints/destinations/index.yaml'
  /v1/destinations/{destinationId}:
    $ref: './endpoints/destinations/uuid.yaml'
  /v1/destinations/{destinationId}/keys:
    $ref: './endpoints/destinations/keys/index.yaml'
  /v1/destinations/{destinationId}/keys/{keyId}:
    $ref: './endpoints/destinations/keys/uuid.yaml'
  /v1/cases/{caseId}/events:
    $ref: './endpoints/cases/events/index.yaml'

  /v1/submissions:
    $ref: './endpoints/submissions/index.yaml'
  /v1/submissions/{submissionId}:
    $ref: './endpoints/submissions/uuid.yaml'
  /v1/submissions/{submissionId}/attachments/{attachmentId}:
    $ref: './endpoints/attachments/uuid.yaml'
    $ref: './endpoints/info/get-info.yaml'
  /.well-known/jwks.json:
    $ref: './endpoints/well-known/jwks.json/index.yaml'
components:
  securitySchemes:
      $ref: './parameters/submissionId.yaml'
      $ref: './parameters/destinationId.yaml'
      $ref: './parameters/destinationIdInQuery.yaml'
    attachmentId:
      $ref: './parameters/attachmentId.yaml'
    limit:
      $ref: './parameters/pagination/limit.yaml'
    offset:
      $ref: './parameters/pagination/offset.yaml'

    # Callback Headers need to be defined in the parameters section of a callback which requires
    # an 'in' key that is incompatible with the headers section here where it is disallowed. Solution:
    # define them here in the parameteters with 'in' key
    Callback-Authentication:
      $ref: './headers/hmac-cb-authentication.yaml'
    Callback-Timestamp:
      $ref: './headers/hmac-cb-timestamp.yaml'
    SubmissionReduced:
      $ref: './schemas/submission-reduced.yaml'
      $ref: './schemas/submission-created.yaml'
      $ref: './schemas/submission-schema.yaml'
    ContactInformation:
      $ref: './schemas/contact-information.yaml'
      $ref: './schemas/create-submission.yaml'
    CreateAttachment:
      $ref: './schemas/create-attachment.yaml'
    CreateDestination:
      $ref: './schemas/create-destination.yaml'
    Destination:
      $ref: './schemas/destination-any.yaml'
      $ref: './schemas/destination-private.yaml'
      $ref: './schemas/destination-public.yaml'
    DestinationList:
      $ref: './schemas/destination-list.yaml'
      $ref: './schemas/destination-service.yaml'
Jonas Gröger's avatar
Jonas Gröger committed
    JWK:
Jonas Gröger's avatar
Jonas Gröger committed
    JWKS:
    CallbackNewSubmissions:
      $ref: './schemas/callback-new-submissions.yaml'
    CallbackNewEvents:
      $ref: './schemas/callback-new-events.yaml'
      $ref: './schemas/patch-destination.yaml'
    ServiceRegion:
      $ref: './schemas/service-region.yaml'
      $ref: './schemas/submission-for-pickup.yaml'
    SubmissionForNewEvents:
      $ref: './schemas/submission-for-new-events.yaml'
    SubmissionsForPickup:
      $ref: './schemas/submissions-for-pickup.yaml'
      $ref: './schemas/submit-submission.yaml'
    UpdateDestination:
      $ref: './schemas/update-destination.yaml'
Jonas Gröger's avatar
Jonas Gröger committed
    Version:
    ServiceType:
      $ref: './schemas/service-type-get.yaml'
      $ref: './schemas/security-event-token.yaml'
    ReplyChannel:
      $ref: './schemas/reply-channels.yaml'
    Callback:
      $ref: './schemas/callback-url.yaml'
    SupportedMetadataVersions:
      $ref: './schemas/supported-metadata-versions.yaml'
    CreateCallback:
      $ref: './schemas/create-callback.yaml'
      $ref: './examples/submission.yaml'
      $ref: './examples/submission-created.yaml'
      $ref: './examples/create-submission.yaml'
    CreateDestination:
      $ref: './examples/create-destination.yaml'
    Destination:
      $ref: './examples/destination-any.yaml'
      $ref: './examples/destination-private.yaml'
      $ref: './examples/destination-public.yaml'
    DestinationList:
      $ref: './examples/destination-list.yaml'
    EncryptedMessage:
      $ref: './examples/encrypted-message.yaml'
    JWKVerify:
      $ref: './examples/jwk-verify.yaml'
    JWKWrapKey:
      $ref: './examples/jwk-wrapKey.yaml'
    UpdateDestination:
      $ref: './examples/update-destination.yaml'
    PatchDestinationStatus:
      $ref: './examples/patch-destination-status.yaml'
    PatchDestinationContact:
      $ref: './examples/patch-destination-contact.yaml'

  callbacks:
    NewEvents:
      $ref: './callbacks/new-events.yaml'
    NewSubmissions:
      $ref: './callbacks/new-submissions.yaml'

  headers:
    Cache-Control-No-Cache:
      $ref: './headers/cache-control-no-cache.yaml'