API ਹਵਾਲਾ
Inbox
ਇਸ ਖੇਤਰ ਵਿੱਚ 5 ਐਂਡਪੁਆਇੰਟ ਹਨ। ਹਰੇਕ ਦਾ ਆਪਣਾ ਪੰਨਾ ਹੈ ਜਿਸ ਵਿੱਚ ਇਸਦੇ ਮਾਪਦੰਡ, ਇਸਦਾ ਜਵਾਬ ਅਤੇ ਇੱਕ ਬੇਨਤੀ ਹੈ ਜੋ ਤੁਸੀਂ ਚਲਾ ਸਕਦੇ ਹੋ।
| ਢੰਗ | ਮਾਰਗ | ਇਹ ਕੀ ਕਰਦਾ ਹੈ | ਇਜਾਜ਼ਤ |
|---|---|---|---|
| POST | /v1/inbox/read-all | Mark every message in the inbox read. | ਕੋਈ ਵੀ API ਕੁੰਜੀ |
| GET | /v1/inbox/threads | The inbox — one row per conversation, newest first. | ਕੋਈ ਵੀ API ਕੁੰਜੀ |
| GET | /v1/inbox/threads/{threadKey} | One conversation, oldest message first. | ਕੋਈ ਵੀ API ਕੁੰਜੀ |
| POST | /v1/inbox/threads/{threadKey} | Mark a conversation read, or archive it. | ਕੋਈ ਵੀ API ਕੁੰਜੀ |
| GET | /v1/inbox/unread | The number the header badge renders. | ਕੋਈ ਵੀ API ਕੁੰਜੀ |