Skip to main content
POST
/
submit
/
file
Submit File
curl --request POST \
  --url https://98i2es6mi4.execute-api.us-west-2.amazonaws.com/prod/submit/file/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "type": "<string>",
  "format": "<string>",
  "file_id": "<string>",
  "pdb_id": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json
name
string | null

Human-friendly name

type
string | null

type of file

format
string | null

file format (e.g., 'pdb', 'sdf', 'zip')

file_id
string | null

File id of a previously uploaded file

pdb_id
string | null

RCSB PDB identifier like '1BNA'

Response

Successful Response