• log in
« Go back to the home page

Badge status

This endpoint may be used to get information for the badges in the top navigation bar.


GET /badgestatus

Get information for the badges in the top navigation bar for the current user.
Requires authorization

Response

Property Type Description
notifications integer The amount of unseen notifications the current user has
messages object The amount of unread messages the current user has

DELETE /badgestatus

Clears all unread items for a specific type.
Requires authorization

Parameters

Property Type Description
type string The type to clear, either notifications or messages

© Copyright 2018-2021 Gigadrive - All rights reserved.
Contact Info • About • Terms of Service • Privacy Policy • Disclaimer • Developers