@@ -523,18 +523,34 @@ paths:
523523 - references
524524 parameters :
525525 - $ref : ' #/definitions/arguments/proteinReferenceQuery'
526+ - name : limit
527+ in : query
528+ description : pagination, maximum number of projects per query
529+ schema :
530+ type : integer
531+ default : 10
532+ maximum : 100
533+ - name : page
534+ in : query
535+ description : pagination, page number
536+ schema :
537+ type : integer
538+ default : 1
526539 responses :
527540 200 :
528- description : List of UniProt IDs
541+ description : List of protein references
529542 content :
530543 application/json :
531- type : array
532- items :
533- type : string
534- example :
535- - P17427
536- - P27870
537- - Q01842
544+ schema :
545+ type : object
546+ properties :
547+ referencesCount :
548+ type : integer
549+ example : 42
550+ references :
551+ type : array
552+ items :
553+ $ref : ' #/components/schemas/ProteinReference'
538554
539555 /references/proteins/{UniProtID} :
540556 get :
@@ -562,18 +578,33 @@ paths:
562578 - references
563579 parameters :
564580 - $ref : ' #/definitions/arguments/pdbReferenceQuery'
581+ - name : limit
582+ in : query
583+ description : pagination, maximum number of projects per query
584+ schema :
585+ type : integer
586+ default : 10
587+ maximum : 100
588+ - name : page
589+ in : query
590+ description : pagination, page number
591+ schema :
592+ type : integer
593+ default : 1
565594 responses :
566595 200 :
567596 description : List of PDB IDs
568597 content :
569598 application/json :
570- type : array
571- items :
572- type : string
573- example :
574- - 12CA
575- - 153L
576- - 16PK
599+ type : object
600+ properties :
601+ referencesCount :
602+ type : integer
603+ example : 42
604+ references :
605+ type : array
606+ items :
607+ $ref : ' #/components/schemas/PdbReference'
577608
578609 /references/pdbs/{PDBID} :
579610 get :
@@ -602,6 +633,19 @@ paths:
602633 - references
603634 parameters :
604635 - $ref : ' #/definitions/arguments/inchikeyReferenceQuery'
636+ - name : limit
637+ in : query
638+ description : pagination, maximum number of projects per query
639+ schema :
640+ type : integer
641+ default : 10
642+ maximum : 100
643+ - name : page
644+ in : query
645+ description : pagination, page number
646+ schema :
647+ type : integer
648+ default : 1
605649 responses :
606650 200 :
607651 description : Object with a count and an array of InChIKey references
@@ -645,6 +689,19 @@ paths:
645689 - references
646690 parameters :
647691 - $ref : ' #/definitions/arguments/chainReferenceQuery'
692+ - name : limit
693+ in : query
694+ description : pagination, maximum number of projects per query
695+ schema :
696+ type : integer
697+ default : 10
698+ maximum : 100
699+ - name : page
700+ in : query
701+ description : pagination, page number
702+ schema :
703+ type : integer
704+ default : 1
648705 responses :
649706 200 :
650707 description : Object with a count and an array of chain sequence references
@@ -688,6 +745,19 @@ paths:
688745 - references
689746 parameters :
690747 - $ref : ' #/definitions/arguments/collectionReferenceQuery'
748+ - name : limit
749+ in : query
750+ description : pagination, maximum number of projects per query
751+ schema :
752+ type : integer
753+ default : 10
754+ maximum : 100
755+ - name : page
756+ in : query
757+ description : pagination, page number
758+ schema :
759+ type : integer
760+ default : 1
691761 responses :
692762 200 :
693763 description : Object with a count and an array of collection references
@@ -1195,11 +1265,11 @@ paths:
11951265 schema :
11961266 type : string
11971267 enum : [
1268+ ' pca' ,
11981269 ' dist-perres' ,
11991270 ' energies' ,
12001271 ' fluctuation' ,
12011272 ' hbonds' ,
1202- ' pca' ,
12031273 ' pockets' ,
12041274 ' rgyr' ,
12051275 ' rmsd-pairwise' ,
@@ -3004,7 +3074,7 @@ components:
30043074 properties :
30053075 length :
30063076 type : integer
3007- description : length in bytes
3077+ description : file size in bytes
30083078 example : 368194
30093079 filename :
30103080 type : string
@@ -3199,15 +3269,6 @@ definitions:
31993269 schema :
32003270 type : string
32013271 example : " 1986"
3202- ligandReferenceQuery :
3203- name : query
3204- in : query
3205- description : >
3206- A query stringified JSON object for the MongoDB [find](https://www.mongodb.com/docs/manual/reference/method/db.collection.find/) command.
3207- It can be used to filter ligand references by any field.
3208- schema :
3209- type : string
3210- example : ' {"formula":"C22H23N3O4"}'
32113272 PDBID :
32123273 name : PDBID
32133274 in : path
@@ -3243,7 +3304,7 @@ definitions:
32433304 It can be used to filter InChIKey references by top-level or nested fields.
32443305 schema :
32453306 type : string
3246- example : ' {"pubchem .formula":"C32H47FN6O4S" }'
3307+ example : ' {"ligand .formula":{"$regex":"P"} }'
32473308 ChainSequence :
32483309 name : ChainSequence
32493310 in : path
0 commit comments