POST public/v2/streams/{streamKey}/logs

Upload logs into a specific stream

Request Information

URI Parameters

NameDescriptionTypeAdditional information
streamKey

globally unique identifier

Required

Body Parameters

Collection of BitPool.Base.Entities.Slog
NameDescriptionTypeAdditional information
Ts

date

None.

Val

decimal number

None.

ValStr

string

None.

Calculated

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Ts": "2019-05-19T19:33:21.984+00:00",
    "Val": 1.1,
    "ValStr": "sample string 2",
    "Calculated": true
  },
  {
    "Ts": "2019-05-19T19:33:21.984+00:00",
    "Val": 1.1,
    "ValStr": "sample string 2",
    "Calculated": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfSlog>
  <Slog>
    <Ts>2019-05-19T19:33:21.9847232+00:00</Ts>
    <Val>1.1</Val>
    <ValStr>sample string 2</ValStr>
    <Calculated>true</Calculated>
  </Slog>
  <Slog>
    <Ts>2019-05-19T19:33:21.9847232+00:00</Ts>
    <Val>1.1</Val>
    <ValStr>sample string 2</ValStr>
    <Calculated>true</Calculated>
  </Slog>
</ArrayOfSlog>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>