File tree Expand file tree Collapse file tree 2 files changed +91
-18
lines changed
Expand file tree Collapse file tree 2 files changed +91
-18
lines changed Original file line number Diff line number Diff line change @@ -43,24 +43,15 @@ paths:
4343 $ref : " ./p-healthcheck.yml#/paths/~1healthz"
4444 /api/readyz :
4545 $ref : " ./p-healthcheck.yml#/paths/~1readyz"
46+ /api/doclist :
47+ $ref : " ./p-doclist.yml#/paths/~1doclist"
4648
4749tags :
4850 - name : process
4951 description : Everything about performing request and parsing response
50- - name : status_model
51- x-displayName : Status Model
52- description : |
53- <SchemaDefinition schemaRef="#/components/schemas/Status" />
54- - name : text_model
55- x-displayName : Text Model
56- description : |
57- <SchemaDefinition schemaRef="#/components/schemas/Text" />
5852 - name : images_model
5953 x-displayName : Images Model
6054 description : |
61- **Images model:**
62- <SchemaDefinition schemaRef="#/components/schemas/Images" />
63- **Document image model:**
6455 <SchemaDefinition schemaRef="#/components/schemas/DocumentImage" />
6556 - name : document_model
6657 x-displayName : Document Model
6960 <SchemaDefinition schemaRef="#/components/schemas/ChosenDocumentType" />
7061 **Candidates model:**
7162 <SchemaDefinition schemaRef="#/components/schemas/DocumentTypesCandidates" />
72- - name : authenticity_model
73- x-displayName : Authenticity Model
74- description : |
75- <SchemaDefinition schemaRef="#/components/schemas/AuthenticityCheckResult" />
7663
7764x-tagGroups :
7865 - name : Requests
@@ -82,11 +69,8 @@ x-tagGroups:
8269 - healthcheck
8370 - name : Models
8471 tags :
85- - status_model
86- - text_model
8772 - images_model
8873 - document_model
89- - authenticity_model
9074
9175components :
9276 schemas :
Original file line number Diff line number Diff line change 1+ openapi : 3.0.4
2+ paths :
3+ /doclist :
4+ get :
5+ summary : " Returns the list of documents stored in the database that the Web Service API is running with."
6+ operationId : doclist
7+ responses :
8+ 200 :
9+ description : " The list of documents stored in the database."
10+ content :
11+ application/json :
12+ schema :
13+ $ref : " #/components/schemas/DatabaseDocumentList"
14+
15+ components :
16+ schemas :
17+ DatabaseDocumentList :
18+ title : " DatabaseDocumentList"
19+ type : object
20+ required :
21+ - items
22+ properties :
23+ items :
24+ description : " The list of documents stored in the database."
25+ type : array
26+ items :
27+ $ref : " #/components/schemas/DatabaseDocument"
28+
29+ DatabaseDocument :
30+ title : " DatabaseDocument"
31+ type : object
32+ required :
33+ - barcode_fields
34+ - country
35+ - createad
36+ - doc_type
37+ - document
38+ - graphic_fields
39+ - id
40+ - mrz
41+ - rfid_chip
42+ - text_fields
43+ - updated
44+ properties :
45+ barcode_fields :
46+ description : " Whether the document has a barcode."
47+ type : boolean
48+ country :
49+ description : " Country name."
50+ type : string
51+ createad :
52+ description : " Date when the document description was created in the database."
53+ type : string
54+ doc_type :
55+ description : " Document type."
56+ type : integer
57+ document :
58+ description : " Document name."
59+ type : string
60+ graphic_fields :
61+ description : " The presence of graphic fields in the document."
62+ type : boolean
63+ id :
64+ description : " Document code."
65+ type : integer
66+ mrz :
67+ description : " The document has an MRZ."
68+ type : boolean
69+ region :
70+ description : " Country region."
71+ type : string
72+ rfid_chip :
73+ description : " The document has an RFID chip."
74+ type : boolean
75+ text_fields :
76+ description : " The presence of text fields in the document."
77+ type : boolean
78+ updated :
79+ description : " Date when the document description was updated in the database."
80+ type : string
81+ year :
82+ description : " The year when the document was issued."
83+ type : string
84+ sovereignty :
85+ description : " Guardian country."
86+ type : string
87+ deprecated :
88+ description : " Whether the document has been withdrawn from circulation."
89+ type : boolean
You can’t perform that action at this time.
0 commit comments