Lets a pet parent rate an organisation and check whether they have already rated it. Both routes are called by the mobile app and authenticated with the pet parent's SuperTokens session (requireMobileAuth).
Endpoints
POST /:organisationId
- Auth:
requireMobileAuth - Params:
organisationId - Controller:
OrganisationRatingController.rateOrganisation - Response:
400: keysmessage,200: keysmessage,500: keysmessage
GET /:organisationId/is-rated
- Auth:
requireMobileAuth - Params:
organisationId - Controller:
OrganisationRatingController.isUserRatedOrganisation - Response:
400: keysmessage,200: keysorganisation,500: keysmessage