Explore Streams

Endpoints:

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

GET /posts/streams/explore

Scope: none

Retrieve a list of explore streams.

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

Returns a list of explore streams.

{
    "meta": {
        "code": 200
    },
    "data": [
        {
            "description": "String",
            "slug": "String",
            "title": "String",
            "url": "https://example.com"
        }
    ]
}

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/v1/posts/streams/explore/conversations?count=1" \
    -H "Authorization: Bearer ${ACCESS_TOKEN}" \
    -H "X-Pretty-Json: 1"

Returns a list of posts.

{
    "meta": {
        "more": true,
        "max_id": "0",
        "min_id": "0",
        "code": 200
    },
    "data": [
        {"...Post Object..."}
    ]
}