The iOS Tracebook is written in Swift and SwiftUI.
GitHub
The Swift source code can be found on GitHub.
https://github.com/marcuspainter/Tracebook
Postman
A collection of API requests used by the app.
https://www.postman.com/marcuspainter/workspace/tracebook/overview
Bubble.io API
More information about using the Bubble API for Tracebook can be found here:
The API is limited to returning 100 items at a time. To get the next items, the cursor parameter must be used. To start, set the cursor to 0. The response contains the number of items remaining. Items should be retrieved until the remains count is zero.
Base URL
https://trace-book.org/api/1.1/obj/
Item Response
{
"response": {
"id" : "1",
...
}
}
Code language: JSON / JSON with Comments (json)
List Response
{
"response": {
"cursor": 0,
"results": [
{
"id": "1",
...
},
{
"id": "2",
...
}
],
"count": 14,
"remaining": 0
}
}
Code language: JSON / JSON with Comments (json)
Tracebook API
The measurements consist of 2 parts. The measurement header, then the additional content.
Measurement
This example gets a list of public measurements sorted by "Created Date".
The "Additional content" property contains the id of the measurement content.
Measurement Content
Use the id from the measurement to get the measurement content.
https://trace-book.org/api/1.1/obj/measurementcontent/1701541284662x312646422310158340
Microphone
https://trace-book.org/api/1.1/obj/microphone
Interface
https://trace-book.org/api/1.1/obj/interface
Analyzer
https://trace-book.org/api/1.1/obj/analyzer
User
https://trace-book.org/api/1.1/obj/user/1660054305439x264101487122056400