StreamList()

This API is used to list non-expired Stream leases for a given Account

API URL:

[BaseURL]/Account/{AccountID}/Stream

Request Method:

GET

Request Parameters:

Request Format

Headers:

Response Format

XML type:

Status Code:

Example

List the active Streams in an Account

The following example requests a list of all Stream leases for a given Account

Sample Request:

GET /rest/2015/02/Account/urn:dece:accountid:org:dece:16EBFA93BAC64DBD875336ED4B6D3CC9/Stream/urn:dece:streamhandleid:org:dece:22F5178A987D4710AFFB8EA28895A174 HTTP/1.1
Host: api.uvvu.com
Accept: application/xml
Authorization: SAML2 assertion=[Assertion]

Sample Response:

HTTP/1.1 200
Date: [Date]
Content-Type: application/xml
X-transaction-info: [TransactionInfo]

<?xml version="1.0" encoding="UTF-8"?>
<StreamList xmlns="http://www.decellc.org/schema/2015/03/coordinator" AvailableStreams="5">
  <Stream StreamHandleID="urn:dece:streamhandleid:org:dece:22F5178A987D4710AFFB8EA28895A174">
    <RequestingUserID>urn:dece:userid:org:dece:16EBFA93BAC64DBD875336ED4B6D3CC9</RequestingUserID>
    <RightsTokenID>urn:dece:rightstokenid:org:dece:22F5178A987D4710AFFB8EA28895A174</RightsTokenID>
    <ExpirationDateTime>2017-06-22T17:22:12.242Z</ExpirationDateTime>
    <ResourceStatus>
      <Current CreatedBy="urn:dece:org:org:dece:falcon-a1:retailer" CreationDate="2017-06-22T11:22:12.242Z">
        <Value>urn:dece:type:status:active</Value>
      </Current>
    </ResourceStatus>
  </Stream>
</StreamList>

See Also