Files
sn-api/docs/api/v1.postman_collection.json
Filip Pajic c1f7af9862 feat: Swagger integration (#4)
* Add postman collection file

* Add open api file

* Use json format for OpenAPI collection

* add swagger ui route

* document the guide for API collections
2025-09-23 14:50:58 +02:00

65 lines
1.2 KiB
JSON

{
"info": {
"_postman_id": "39c3c8c7-b03f-4b00-ad41-ab19878c87d7",
"name": "Status Network API - sn-api - V1",
"description": "This is the OpenAPI documentation of the Status Network API. The service is not intended for public use but for Status company and its products.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "16309767"
},
"item": [
{
"name": "status",
"item": [
{
"name": "Server Status",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/v1/status",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"status"
]
},
"description": "Returns 200 and \"Alive check\" message if the server is running properly"
},
"response": []
}
]
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"packages": {},
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"packages": {},
"exec": [
""
]
}
}
],
"variable": [
{
"key": "baseUrl",
"value": "http://localhost:3001",
"type": "default"
}
]
}