1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-05 23:16:21 +00:00

More swagger API documentation (without details)

This commit is contained in:
Loïc Blot 2018-12-10 14:43:09 +01:00
parent df05002bc7
commit 3b3105bc4f

View File

@ -24,3 +24,35 @@ paths:
properties:
version:
type: integer
# TODO: complete this
/push:
post:
summary: Push messages to server
description: Push a list of messages to the server
responses:
200:
# TODO: complete this
/replace:
post:
summary: Replace messages to server
description: Push a list of messages to replace on the server
responses:
200:
# TODO: complete this
/get/smsidlist:
get:
# TODO: complete this
/get/lastmsgtime:
get:
# TODO: complete this
/api/v2/phones/list:
get:
# TODO: complete this
/api/v2/messages/{start}/{limit}:
get:
# TODO: complete this
/api/v2/messages/count:
get:
# Not implemented
/api/v4/messages/sendqueue:
get: