Class UploadStatusResource
java.lang.Object
ai.pipeline.connector.intake.http.UploadStatusResource
Status lookup for an upload, addressed by the opaque tracking token returned
at upload time (
GET /uploads/status/{token}).
The signed token is the capability: holding a valid one authorizes seeing
that document's status, so no separate API key is required here. A malformed or
tampered token is rejected as a 400 by UploadTrackingToken.verify(String) (and
rendered by the intake exception mapper). A valid token whose document has not
yet been recorded returns PENDING rather than an error.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordClient-safe status projection — only curated fields, never internal detail. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UploadStatusResource
public UploadStatusResource()
-
-
Method Details
-
getStatus
@GET @Path("/{token}") @Produces("application/json") public jakarta.ws.rs.core.Response getStatus(@PathParam("token") String token)
-