You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Next »

API

Login user to AAS

POST

/user/login?folderIds=Sjszo4cBdHmpxQQKUvah&folderIds=rjwQKYgBdHmpxQQKKgSs

Request body

Request-Body => Bookmark
{
       "id": "rjzgAIgBdHmpxQQKvQHm",                      // Not used
       "itemId": "IVMX3IRHKU725WR2HHT6VY2AFFS72FGK",      // Required
       "description": "My important description",         // Optional
       "userId": "fachstelle_museum",                     // Not used
       "type": "CULTURAL_ITEM",                           // Required
       "createdAt": 1683641908448,                        // Not used
       "updatedAt": 1683641908448,                        // Not used
       "keywordTool": {                                   // Optional
             "done": true
       }
}

Response body

Response-Body => Bookmark
{
       "id": "rjzgAIgBdHmpxQQKvQHm",
       "itemId": "IVMX3IRHKU725WR2HHT6VY2AFFS72FGK",
       "description": "My important description",
       "userId": "fachstelle_museum",
       "type": "CULTURAL_ITEM",
       "createdAt": 1683641908448,
       "updatedAt": 1683641908448,
       "keywordTool": {
             "done": true
       }
}

Status codes

  • 200 = Bookmark created
  • 401 = User not authorized
  • 500 = Internal server error



  • No labels