Artifacts

PATCH /api/v1/artifacts/{artifactId}

Update artifact upstream URL and/or authentication, or its public visibility

Request

  • Base URL
    https://app.distr.sh (the document declares no server; this is the origin it was published from)
  • URL
    https://app.distr.sh/api/v1/artifacts/{artifactId}
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

artifactIdstring required

Request body

publicboolean nullable
upstreamUrlstring nullable

Response

OK

createdAtstring date-time
downloadedByCustomerOrganizationsstring[]
downloadedByCustomerOrganizationsCountinteger
downloadedByUsersstring[]
downloadedByUsersCountinteger
downloadsTotalinteger
idstring
imageUrlstring nullable
lastSyncErrorstring nullable
lastSyncedAtstring date-time nullable
namestring
publicboolean
upstreamAuthTypestring nullable
upstreamUrlstring nullable

Changes

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