v12

latestSwagger 2.0raw.githubusercontent.com2025-11-2010927.3 KB
onedep

Add a cif file with metadata to deposition in OneDep

Uploading metadata file to OneDep API. This is created by parsing the JSON metadata into the converter.

post/onedep/{depID}/metadata

Path parameters

depIDstring required

Deposition ID to which a file should be uploaded

Response

File ID

createdstring
{"stackTrail":"components:schemas:onedep.FileResponse:properties:errors","oasType":"schema","type":"unknown","description":"FIX ME actual response type does not correspond to the documented."}
idinteger
metadataobject

not there

namestring

not there

type'add-map' | 'co-cif' | 'md-cif' | 'co-pdb' | 'fsc-xml' | 'half-map' | 'img-emdb' | 'layer-lines' | 'mask-map' | 'nm-aux-amb' | 'nm-aux-gro' | 'nm-pea-any' | 'nm-res-amb' | 'nm-res-bio' | 'nm-res-cha' | 'nm-res-cns' | 'nm-res-cya' | 'nm-res-dyn' | 'nm-res-gro' | 'nm-res-isd' | 'nm-res-oth' | 'nm-res-ros' | 'nm-res-syb' | 'nm-res-xpl' | 'nm-shi' | 'nm-uni-nef' | 'nm-uni-str' | 'vo-map' | 'xa-mat' | 'xa-par' | 'xa-top' | 'xs-cif' | 'xs-mtz'
{"stackTrail":"components:schemas:onedep.FileResponse:properties:warnings","oasType":"schema","type":"unknown","description":"FIX ME actual response type does not correspond to the documented."}