When the user opens the abstract attached to an endorsement on the endorsement screen (EndorsementViewModel -> EndorsementRepositoryImpl.getAbstractFile), the app asks for its attachment list, takes the last entry's tempAttachmentURL, and downloads the file with a second GET to that signed URL (downloadEndorsementFile, @Url). The file is saved as cacheDir/Downloaded_<fileName>, its path is stored on the endorsement row, and it is opened. This is a synchronous online call. If no attachment exists or the call fails, null is returned and nothing opens.
Headers
Header
Value
Notes
X-SESSIONID
<session id>
Passed explicitly as a @Header by the caller (AndroidSessionManager.sessionId). AuthInterceptor also fills it when missing, and on a 401 or 400 it invalidates the token, fetches a new one and retries once.
Parameters
Param
In
Required
Example
Notes
endorsementId
query
Yes
3101
Server endorsement id (EndorsementEntity.id).
attachmentFormat
query
Yes
ATTACHMENT_URL
Default value. Asks for a temporary URL instead of inline bytes.