Artifacts
Publisher

Verify object uploads and complete a large-upload session.

HEADs and stream-hashes every uploaded object. Completion returns draftPatch.largeUploadManifestId for POST /api/artifacts.

Inputs. Path, query and header fields are listed below. No request body is required.

Outputs. See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

Errors. API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

Rate limits. Write and protocol operations can have separate route-specific limits. Read Retry-After and retry_after_s when present; do not infer a write allowance from the public read budget.

Example setup. Use an identifier returned by the matching list, search or create operation. Sample identifiers are not a promise that a record exists. Set HUGGING_BAY_TOKEN to a credential with the role or scope stated by this operation. Reader tokens do not grant publisher or operator rights. This example is not executed by documentation checks. Review the operation and obtain any required user consent before sending it.

post/api/upload-sessions/{id}/complete

Request

  • Base URL: https://huggingbay.xyz
  • URL: https://huggingbay.xyz/api/upload-sessions/{id}/complete
  • Auth: HTTP bearer

Path parameters

idstring required

Response

Completed upload session

schemaVersion'hugging-bay.upload-session.v1' required
idstring required
ownerstring required
namestring required
status'created' | 'pending' | 'completed' | 'canceled' | 'expired' required
storageProviderstring
createdAtstring
expiresAtstring
completedAtstring nullable
filesUploadSessionFile[] required(unresolved $ref)
draftPatchobject required
linksobject
urlsobject

Changes

No recorded changes to this operation across all 1 revision of this API.