Skip to content

place.stream.multistream.listTargets

Lexicon Version: 1

Type: query

List a range of targets for rebroadcasting a Streamplace stream.

Parameters:

NameTypeReq’dDescriptionConstraints
limitintegerThe number of targets to return.Min: 1
Max: 100
Default: 50
cursorstring

Output:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
targetsArray of place.stream.multistream.defs#targetView
cursorstring

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
uristringFormat: at-uri
cidstringFormat: cid
valueunknown

{
"lexicon": 1,
"id": "place.stream.multistream.listTargets",
"defs": {
"main": {
"type": "query",
"description": "List a range of targets for rebroadcasting a Streamplace stream.",
"parameters": {
"type": "params",
"required": [],
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50,
"description": "The number of targets to return."
},
"cursor": {
"type": "string"
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["targets"],
"properties": {
"targets": {
"type": "array",
"items": {
"type": "ref",
"ref": "place.stream.multistream.defs#targetView"
}
},
"cursor": {
"type": "string"
}
}
}
}
},
"record": {
"type": "object",
"required": ["uri", "cid", "value"],
"properties": {
"uri": {
"type": "string",
"format": "at-uri"
},
"cid": {
"type": "string",
"format": "cid"
},
"value": {
"type": "unknown"
}
}
}
}
}