AppUser

renew an expired session

Changed on
put/api/users/relogin/{sessionId}

Request

  • Base URL
    https://api.ganjoor.net (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

sessionIdstring uuid required

user session id

Response

OK

sessionIdstring uuid

Session Id

tokenstring nullable

Security Token

Example response

{
  "user": {
    "username": "test",
    "email": "email@domain.com",
    "phoneNumber": "+989121234567",
    "firstName": "Hamid Reza",
    "surName": "Mohammadi"
  },
  "securableItem": [
    {
      "shortName": "user",
      "description": "کاربران",
      "operations": [
        {
          "shortName": "view",
          "description": "مشاهده",
          "prerequisites": [
            {
              "secureItemShortName": "job",
              "operationShortName": "view"
            }
          ]
        }
      ]
    }
  ]
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status