|
|
```
|
|
|
swagger: '2.0'
|
|
|
info:
|
|
|
version: 1.0.0
|
|
|
title: Get File Service
|
|
|
description: Public API for downloading ingested files
|
|
|
contact:
|
|
|
name: DELFI Developer Portal Support
|
|
|
email: delfi-devportal-help@slb.com
|
|
|
host: api.evq.csp.slb.com
|
|
|
basePath: /de/file/v1
|
|
|
schemes:
|
|
|
- https
|
|
|
consumes:
|
|
|
- application/json
|
|
|
produces:
|
|
|
- application/json
|
|
|
paths:
|
|
|
/getfile:
|
|
|
get:
|
|
|
description: 'Download a file from the Data Ecosystem. The file record must include a resource path field'
|
|
|
parameters:
|
|
|
- name: Slb-Account-Id
|
|
|
in: header
|
|
|
description: Users account e.g. SLB
|
|
|
required: true
|
|
|
type: string
|
|
|
- name: recordId
|
|
|
in: query
|
|
|
description: Record ID for the file
|
|
|
required: true
|
|
|
type: string
|
|
|
|
|
|
responses:
|
|
|
'200':
|
|
|
description: A successful response
|
|
|
'400':
|
|
|
description: Record does not include a resource path
|
|
|
'404':
|
|
|
description: Record not found
|
|
|
'429':
|
|
|
description: Too many requests
|
|
|
security:
|
|
|
- bearer: []
|
|
|
- appkey: []
|
|
|
tags:
|
|
|
- Get File
|
|
|
securityDefinitions:
|
|
|
bearer:
|
|
|
type: apiKey
|
|
|
name: Authorization
|
|
|
in: header
|
|
|
appkey:
|
|
|
type: apiKey
|
|
|
name: appkey
|
|
|
in: header
|
|
|
tags:
|
|
|
- name: Get File |