{"openapi":"3.1.0","info":{"description":"These APIs should be implemented by the platforms for eFTI gate integration. Information on what APIs to call is available from <a target='_blank' href='https://eu-ee32.eftisandbox.eu/v1/openapi'>Gate API</a>","title":"eFTI Gate to Platform REST API"},"servers":[{"url":"https://demo-platform.eu-ee32.eftisandbox.eu/v1"}],"tags":[{"name":"For Gates","description":"These APIs are called by gates"}],"components":{"securitySchemes":{"apiKeyAuth":{"in":"header","name":"X-Api-Key","type":"apiKey"}}},"paths":{"/health":{"get":{"tags":[],"responses":{"200":{"description":"OK"}}}},"/dataset/{datasetId}":{"get":{"operationId":"DatasetRoutes.getDataset","tags":["For Gates"],"parameters":[{"name":"datasetId","required":true,"in":"path","schema":{"type":"string","format":"uuid"}},{"name":"subsets","required":true,"in":"query","schema":{"type":"string"},"description":"eFTI subsets to filter dataset by. At least 1 required; comma-separated"},{"name":"X-Request-ID","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"204":{"description":"No content"}},"description":"Called by gate to get eFTI subsets for a dataset ID. Returns <FTI010GetCmdsResponse>"}},"/dataset/{datasetId}/follow-up":{"post":{"operationId":"DatasetRoutes.postFollowUp","tags":["For Gates"],"parameters":[{"name":"datasetId","required":true,"in":"path","schema":{"type":"string","format":"uuid"},"description":"Uniquely identifies specific consignment dataset (UUID)"},{"name":"X-Dataset-Request-ID","required":true,"in":"header","schema":{"type":"string"},"description":"Request ID of the dataset query made previously"},{"name":"X-Request-ID","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"base64Content":{"type":"string"},"fileName":{"type":"string"},"mimeType":{"type":"string"}},"required":["base64Content","fileName"]}},"message":{"type":"string"}}}}},"required":true},"responses":{"204":{"description":"No content"}},"description":"Receive follow up message regarding previous dataset query. Authorities have the right to send follow-up messages regarding received datasets that they find suspicious or unlawful."}}},"security":[{"apiKeyAuth":[]}]}