nimblehq / nimble-survey-web

Nimble Survey API for Mobile Challenge and Certification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Value Type of Identification in API Response

suho opened this issue · comments

commented

Issue

Based on the document from jsonapi.org:

Every resource object MUST contain an id member and a type member. The values of the id and type members MUST be strings.

Here is the link: https://jsonapi.org/format/#document-resource-object-identification

Currently, the value type of id is Int

Screen Shot 2021-06-17 at 19 04 29

Expected

The value type of id should be `String

Steps to reproduce

  1. Login with API {{base_url}}/api/v1/oauth/token
  2. Check the response
commented

@olivierobert Please help me to check this.

@suho Let me check it