File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 454454 }
455455 }
456456 },
457+ "FileDetail": {
458+ "type": "object",
459+ "required": [
460+ "created_at",
461+ "file",
462+ "files",
463+ "filesCount",
464+ "id",
465+ "metadata",
466+ "name",
467+ "nodeId",
468+ "nodeType",
469+ "requested_by",
470+ "signatureFlow",
471+ "signers",
472+ "status",
473+ "statusText",
474+ "uuid",
475+ "visibleElements"
476+ ],
477+ "properties": {
478+ "created_at": {
479+ "type": "string"
480+ },
481+ "file": {
482+ "type": "string"
483+ },
484+ "files": {
485+ "type": "array",
486+ "items": {
487+ "type": "object",
488+ "required": [
489+ "nodeId",
490+ "uuid",
491+ "name",
492+ "status",
493+ "statusText"
494+ ],
495+ "properties": {
496+ "fileId": {
497+ "type": "integer",
498+ "format": "int64"
499+ },
500+ "nodeId": {
501+ "type": "integer",
502+ "format": "int64"
503+ },
504+ "uuid": {
505+ "type": "string"
506+ },
507+ "name": {
508+ "type": "string"
509+ },
510+ "status": {
511+ "type": "integer",
512+ "format": "int64"
513+ },
514+ "statusText": {
515+ "type": "string"
516+ }
517+ }
518+ }
519+ },
520+ "filesCount": {
521+ "type": "integer",
522+ "format": "int64"
523+ },
524+ "id": {
525+ "type": "integer",
526+ "format": "int64"
527+ },
528+ "metadata": {
529+ "type": "object",
530+ "additionalProperties": {
531+ "type": "object"
532+ }
533+ },
534+ "name": {
535+ "type": "string"
536+ },
537+ "nodeId": {
538+ "type": "integer",
539+ "format": "int64"
540+ },
541+ "nodeType": {
542+ "type": "string"
543+ },
544+ "requested_by": {
545+ "type": "object",
546+ "required": [
547+ "userId",
548+ "displayName"
549+ ],
550+ "properties": {
551+ "userId": {
552+ "type": "string"
553+ },
554+ "displayName": {
555+ "type": "string",
556+ "nullable": true
557+ }
558+ }
559+ },
560+ "signatureFlow": {
561+ "oneOf": [
562+ {
563+ "type": "integer",
564+ "format": "int64"
565+ },
566+ {
567+ "type": "string"
568+ }
569+ ]
570+ },
571+ "signers": {
572+ "type": "array",
573+ "items": {
574+ "$ref": "#/components/schemas/Signer"
575+ }
576+ },
577+ "status": {
578+ "type": "integer",
579+ "format": "int64"
580+ },
581+ "statusText": {
582+ "type": "string"
583+ },
584+ "uuid": {
585+ "type": "string"
586+ },
587+ "visibleElements": {
588+ "type": "array",
589+ "items": {
590+ "$ref": "#/components/schemas/VisibleElement"
591+ }
592+ }
593+ }
594+ },
457595 "FolderSettings": {
458596 "type": "object",
459597 "properties": {
8811019 "canSign",
8821020 "canRequestSign",
8831021 "signerFileUuid",
884- "phoneNumber"
1022+ "phoneNumber",
1023+ "hasSignatureFile",
1024+ "needIdentificationDocuments",
1025+ "identificationDocumentsWaitingApproval"
8851026 ],
8861027 "properties": {
8871028 "canSign": {
8941035 "type": "string",
8951036 "nullable": true
8961037 },
897- "hasSignatureFile": {
898- "type": "boolean"
899- },
9001038 "phoneNumber": {
9011039 "type": "string"
9021040 },
1041+ "hasSignatureFile": {
1042+ "type": "boolean"
1043+ },
9031044 "needIdentificationDocuments": {
9041045 "type": "boolean"
9051046 },
11611302 "ValidateFile": {
11621303 "type": "object",
11631304 "required": [
1305+ "id",
11641306 "uuid",
11651307 "name",
11661308 "status",
11771319 "file"
11781320 ],
11791321 "properties": {
1322+ "id": {
1323+ "type": "integer",
1324+ "format": "int64"
1325+ },
11801326 "uuid": {
11811327 "type": "string"
11821328 },
43244470 },
43254471 "data": {
43264472 "type": "array",
4327- "nullable": true,
43284473 "items": {
4329- "$ref": "#/components/schemas/File "
4474+ "$ref": "#/components/schemas/FileDetail "
43304475 }
43314476 },
43324477 "settings": {
49475092 {
49485093 "name": "fileId",
49495094 "in": "path",
4950- "description": "Node id of a Nextcloud file",
5095+ "description": "LibreSign file ID ",
49515096 "required": true,
49525097 "schema": {
49535098 "type": "integer",
69277072 ],
69287073 "properties": {
69297074 "data": {
6930- "$ref": "#/components/schemas/ValidateFile "
7075+ "$ref": "#/components/schemas/FileDetail "
69317076 },
69327077 "message": {
69337078 "type": "string"
71297274 "type": "string"
71307275 },
71317276 "data": {
7132- "$ref": "#/components/schemas/ValidateFile "
7277+ "$ref": "#/components/schemas/FileDetail "
71337278 }
71347279 }
71357280 }
72317376 {
72327377 "name": "fileId",
72337378 "in": "path",
7234- "description": "Node id of a Nextcloud file",
7379+ "description": "LibreSign file ID ",
72357380 "required": true,
72367381 "schema": {
72377382 "type": "integer",
You can’t perform that action at this time.
0 commit comments