๐งช Swagger UI - Interactive API Documentation
Explore and test the Idling.app API directly in your browser with our interactive Swagger UI interface.
๐ Interactive API Explorerโ
Loading...
๐ Getting Startedโ
Authenticationโ
Before testing endpoints:
- Click "Authorize" button at the top
- Enter your Bearer token:
Bearer YOUR_TOKEN_HERE
- Click "Authorize" to save
Testing Endpointsโ
- Expand any endpoint section
- Click "Try it out" button
- Fill in required parameters
- Click "Execute" to test
๐ Authentication Setupโ
Getting Your API Tokenโ
- Login to your Idling.app account
- Navigate to Settings โ API Keys
- Generate a new API key
- Copy the token for use in Swagger UI
Token Formatโ
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
๐ ๏ธ Testing Examplesโ
Example 1: Get User Profileโ
curl -X 'GET' \
'https://api.idling.app/api/v1/user/profile' \
-H 'accept: application/json' \
-H 'Authorization: Bearer YOUR_TOKEN'
Example 2: Create a Postโ
curl -X 'POST' \
'https://api.idling.app/api/v1/posts' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-d '{
"title": "My New Post",
"content": "This is the content of my post",
"tags": ["example", "test"]
}'
๐ Related Resourcesโ
- API Overview - Complete API documentation
- Authentication Guide - Detailed auth setup
- Admin Documentation - Administrative endpoints
Last Updated: January 28, 2025