Explore Streams

Explore streams are basically pre-built searches with some simple criteria.

Endpoints:

GET /posts/streams/explore

Scope: none

Retrieve a list of explore streams.

Example
curl "https://api.pnut.io/v0/posts/streams/explore" \
    -H "Authorization: Bearer ${ACCESS_TOKEN}" \
    -H "X-Pretty-Json: 1"

Returns a list of explore streams.

"call for example 1"

GET /posts/streams/explore/{slug}

Scope: none

Retrieve a list of posts in an explore stream.

URL Parameters

Name Description
slug Slug of the stream to retrieve posts from. Retrieve slugs to use from the previous call.
Example
curl "https://api.pnut.io/v0/posts/streams/explore/conversations?count=1" \
    -H "Authorization: Bearer ${ACCESS_TOKEN}" \
    -H "X-Pretty-Json: 1"

Returns a list of posts.

"call for example 2"