AWS solutions documentation change
Summary
Simplified endpoint title, removed detailed schemas/properties documentation, added OPTIONS method definition, and restructured path parameters
Security assessment
Removed general authentication/authorization mention but no specific security vulnerability addressed. OPTIONS method addition appears to be CORS-related documentation rather than security feature addition.
Diff
diff --git a/solutions/latest/dea-api/cases-caseid-files-fileid-info.md index 5abd7ba36..efe7469c2 100644 --- a/solutions/latest/dea-api/cases-caseid-files-fileid-info.md +++ b/solutions/latest/dea-api/cases-caseid-files-fileid-info.md @@ -5 +5 @@ -URIHTTP methodsSchemasProperties +URIHTTP methods @@ -7,3 +7 @@ URIHTTP methodsSchemasProperties -# Cases – Case file info - -This endpoint provides a way to retrieve detailed information about a specific file within a case in DEA, facilitating better management and understanding of the file. The API requires authentication and authorization to ensure that only authorized users can retrieve the details of the file. +# Cases caseId Files fileId Info @@ -19 +17 @@ This endpoint provides a way to retrieve detailed information about a specific f -Get details for a file within a case. +Get details for a file within a case @@ -24,76 +22 @@ Path parametersName| Type| Required| Description -`fileId`| String| True| - -ResponsesStatus code| Response model| Description ----|---|--- -`200`| `CaseFile`| Success Response - -## Schemas - -### Response bodies - - - { - "fileName": "string", - "filePath": "string", - "caseUlid": "string", - "contentType": "string", - "createdBy": "string", - "fileSizeBytes": number, - "sha256Hash": "string", - "ulid": "string", - "status": enum, - "uploadId": "string", - "isFile": boolean, - "created": "string", - "updated": "string", - "details": "string", - "fileS3Key": "string", - "dataVaultUlid": "string", - "executionId": "string", - "associationCreatedby": "string", - "associationDate": "string", - "dataVaultUploadDate": "string", - "dataVaultName": "string", - "reason": "string" - } - -## Properties - -### CaseFile - -Property| Type| Required| Description ----|---|---|--- -`associationCreatedby`| string| False| -`associationDate`| string| False| -`caseUlid`| string| False| -`contentType`| string| False| -`created`| string| False| -`createdBy`| string| False| -`dataVaultName`| string| False| -`dataVaultUlid`| string| False| -`dataVaultUploadDate`| string| False| -`details`| string| False| -`executionId`| string| False| -`fileName`| string| False| -`filePath`| string| False| -`fileS3Key`| string| False| -`fileSizeBytes`| number| False| -`isFile`| boolean| False| -`reason`| string| False| -`sha256Hash`| string| False| -`status`| CaseFileStatus| False| -`ulid`| string| False| -`updated`| string| False| -`uploadId`| string| False| - -### CaseFileStatus - - * `ACTIVE` - - * `DELETING` - - * `DELETE_FAILED` - - * `DELETED` - - * `PENDING` +`fileId`| String| True| File ID to generate audit log for @@ -100,0 +24 @@ Property| Type| Required| Description +### OPTIONS @@ -101,0 +26,4 @@ Property| Type| Required| Description +Path parametersName| Type| Required| Description +---|---|---|--- +`caseId`| String| True| +`fileId`| String| True| File ID to generate audit log for @@ -102,0 +31,3 @@ Property| Type| Required| Description +ResponsesStatus code| Response model| Description +---|---|--- +`204`| None| 204 response @@ -110 +41 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please -Cases – Case details by caseId +Cases caseId Files fileId Contents @@ -112 +43 @@ Cases – Case details by caseId -Cases – Case owner +Cases caseId Files fileId Restore