Skip to content

Conversation

@nikhilsinhaparseable
Copy link
Contributor

API - GET /logstream/{logstream}/info
Response -
{
"created-at": "2024-03-27T15:58:28.418792+05:30",
"first-event-at": "2024-03-27T15:59:08.980+05:30",
"cache_enabled": false,
"time_partition": "source_time"
}

Fixes #691 .

Description


This PR has:

  • been tested to ensure log ingestion and log query works.
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added documentation for new or modified features or behaviors.

API - GET /logstream/{logstream}/info
Response -
{
    "created-at": "2024-03-27T15:58:28.418792+05:30",
    "first-event-at": "2024-03-27T15:59:08.980+05:30",
    "cache_enabled": false,
    "time_partition": "source_time"
}
@nitisht nitisht merged commit dc9e0c5 into parseablehq:main Mar 28, 2024
nikhilsinhaparseable added a commit to nikhilsinhaparseable/parseable that referenced this pull request Apr 20, 2024
Add API - GET /logstream/{logstream}/info
Response -
{
    "created-at": "2024-03-27T15:58:28.418792+05:30",
    "first-event-at": "2024-03-27T15:59:08.980+05:30",
    "cache_enabled": false,
    "time_partition": "source_time"
}

Also removed logic of first-event-at and created-at 
from stats API response
@nikhilsinhaparseable nikhilsinhaparseable deleted the add-stream-info branch July 12, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add a new stream info API

2 participants