{ "opencollection": "1.0.0", "info": { "name": "Val Town alias telemetry API", "version": "1" }, "items": [ { "info": { "name": "telemetry", "type": "folder" }, "items": [ { "info": { "name": "traceList", "type": "http" }, "http": { "method": "GET", "url": "https://api.val.town/v1/telemetry/traces", "params": [ { "name": "file_id", "value": "", "type": "query", "description": "Include only resources from a given file identified by its ID" }, { "name": "branch_ids", "value": "", "type": "query", "description": "Branch IDs to filter by" }, { "name": "direction", "value": "", "type": "query", "description": "Sort direction for the traces. Defaults to descending order of timestamp." }, { "name": "start", "value": "", "type": "query", "description": "Start date of the time window (earliest time)" }, { "name": "end", "value": "", "type": "query", "description": "End date of the time window (latest time)" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum items to return in each paginated response" }, { "name": "order_by", "value": "", "type": "query", "description": "When set to end_time, traces are sorted by their end time, and pending traces are omitted. When set to start_time, all traces are included, with pending traces given \"0\" for their end time." } ] }, "docs": "Get OpenTelemetry traces within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Choose to return in end_time order instead to view traces that completed in a window or since a time. Filter additionally by branch_ids or file_id." }, { "info": { "name": "logList", "type": "http" }, "http": { "method": "GET", "url": "https://api.val.town/v1/telemetry/logs", "params": [ { "name": "trace_ids", "value": "", "type": "query" }, { "name": "file_id", "value": "", "type": "query", "description": "Include only resources from a given file identified by its ID" }, { "name": "branch_ids", "value": "", "type": "query", "description": "Branch IDs to filter by" }, { "name": "direction", "value": "", "type": "query", "description": "Sort direction for the traces. Defaults to descending order of timestamp." }, { "name": "start", "value": "", "type": "query", "description": "Start date of the time window (earliest time)" }, { "name": "end", "value": "", "type": "query", "description": "End date of the time window (latest time)" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum items to return in each paginated response" } ] }, "docs": "Get OpenTelemetry logs within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Filter additionally by branch_ids or file_id." } ] } ], "bundled": true }