technology.agave.marketplace.putUses

Replace one instance's use counts with the ones given. Authenticated with a service token of any of the instance's members (aud: the marketplace's DID, lxm: this method); the marketplace keeps the counts under the instance id and never the member.

Details · procedure
Kindprocedure
Authoritymarketplace.agave.technology
Indexed

Procedure

procedure · POST

Input

application/json

instance

requiredstring

An opaque id the instance draws once from at least 16 random bytes and keeps: letters, digits, dash and underscore. A report replaces the previous one under the same id.

  • minLength: 16
  • maxLength: 64

uses

requiredarray
  • maxLength: 1000
itemsref
Reference

Output

application/json

accepted

requiredinteger

How many entries name a slug the marketplace indexed; the others are dropped.

  • minimum: 0

Errors

AuthenticationRequired

The call carries no service token.

InvalidToken

The token is expired, not signed by the key its issuer's DID document names, or not addressed to the marketplace and this method.

#use

object

Properties

author

requiredstring · did

count

requiredinteger

Copies of the slug, any version, across the instance's fleets.

  • minimum: 1
  • maximum: 10000

slug

requiredstring
  • maxLength: 40