Rivier/ Reference/ hosting

Offer an entry as its folder in a zip or a gzip tar in the request body

post/hosting/market/submissions/archive

Offer an entry as its folder in a zip or a gzip tar in the request body: entry.json and the text files it points at, at most 2 MB of text. Checked and reviewed exactly as an offer sent as JSON.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:write
Sdk
hosting.marketSubmission.upload
Cli
hosting market submission upload

Request bodyapplication/octet-stream, required

string (binary)

Responses

  • 201application/json
    Success
    • submissionobjectrequired
      • idstringrequired
      • sellerTenantIdstringrequired
      • entryobjectrequired
        • idstringrequired
          Pattern: ^[a-z-]+/[a-z][a-z0-9-]{1,60}$.
        • kindstringrequired
          One of: component, widget, method, layout, stack, palette, type-pairing, token-set, section, flow, tone, site-type, template, resource, connection.
        • titlestringrequired
          At most 80 characters.
        • forstringrequired
          At most 500 characters.
        • whenstringrequired
          At most 1500 characters.
        • not_whenstring
          At most 1500 characters.
        • statusstring
          One of: ready, planned.
        • inputsobject
        • useobjectrequired
        • requireslist of string
        • packageslist of string
        • stackslist of stringrequired
        • planobject
        • versionstringrequired
          Pattern: ^\d+.\d+.\d+$.
        • licensestringrequired
          At most 80 characters.
        • authorstringrequired
          At most 80 characters.
        • priceobject or nullrequired
        • sellerstring
          At most 80 characters.
        • tagslist of string
        • guidestring
          At most 120 characters.
        • examplestring
          At most 120 characters.
        • verifiedstring
          Pattern: ^\d{4}-\d{2}-\d{2}$.
        • sourceslist of string
        • sourceobject
      • fileslist of stringrequired
      • statusstringrequired
        One of: submitted, approved, refused, withdrawn, replaced.
      • reasonstring
      • reviewedAtstring
      • createdAtstringrequired
      • updatedAtstringrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown