Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Polish

Pobieranie listy grup

Ścieżka do servletu: api/groups/query

Metoda: GET

Parametry:

  • query - fraza, na podstawie której zostaną przefiltrowane wyniki. Filtrowanie dotyczy nazwy grupy.
  • start - przesunięcie w zbiorze wynikowym
  • limit - maksymalna ilość zwracanych wyników

Odpowiedź:

  • Odpowiedź zawiera obiekt przechowujący całkowitą ilość wyników w polu total, oraz listę grup w polu data.

 

 

Code Block
languagejavascript
titlePrzykładowa odpowiedź
linenumberstrue
{
   "total":1,
   "data":[
      {
         "name":"SharkGroup",
         "description":"",
         "objectId":1000035,
         "users":null
      }
   ]
}

 

 

 

 
English

Downloading a list of groups

Path to servlet: api/groups/query

Method: GET

Parameters

  • query - a phrase, on the basis of which the results will be filtered. Filtering applies to the group name.
  • start - the offset in the result set
  • limit - the maximum number of returned results

Answer

  • The answer contains an object storing the total number of results in the total field, and a list of groups in the data field.

 

 

Code Block
titleExample answer
linenumberstrue
{
   "total":1,
   "data":[
      {
         "name":"SharkGroup",
         "description":"",
         "objectId":1000035,
         "users":null
      }
   ]
}