Open michupl22 opened 2 weeks ago
Zwraca listę projektów w celu wyświetlania ich w przeglądarce. W tym wypadku nie są pobierane obiekty relacyjne.
Endpoint: /api/projects Metoda: GET Parametry: user, methodology, license, limit, page
/api/projects
GET
user
methodology
license
limit
page
https://www.labwithcommunity.org/api/projects?user=3&methodology=2&license=3&limit=10&page=1
[ { "id": 1, "name": "Projekt 1", "description": "Opis projektu 1", "created": "2022-01-01 12:00:00", "creator": "username", "methodology": "Extreme Programming", "license": "MIT", "website": "https://example.com/project1", "wiki": "https://example.com/project1/wiki", "tracking": "https://example.com/project1/tracking", "tags": [ "tag-1", "tag-2", "tag-3" ] }, { "id": 2, "name": "Projekt 2", "description": "Opis projektu 2", "created": "2022-01-02 12:00:00", "creator": "username", "methodology": "Scrum", "license": "MIT", "website": "https://example.com/project2", "wiki": "https://example.com/project2/wiki", "tracking": "https://example.com/project2/tracking" "tags": [ "tag-1", "tag-2", "tag-3" ] } ]
brakuje tylko
"tags": [ "tag-1", "tag-2", "tag-3" ]
ale reszta zrobiona
Zwraca listę projektów w celu wyświetlania ich w przeglądarce. W tym wypadku nie są pobierane obiekty relacyjne.
Endpoint:
/api/projects
Metoda:GET
Parametry:user
,methodology
,license
,limit
,page
Wymagania
1.0
limit
orazpage
są obowiązkowe. Pozostałe opcjonalne.limit
ipage
nie zostaną zdefiniowane to nie są zwracane żadne pozycje.1.1
Opcjonalne parametry
Przykład
Żądanie
Odpowiedź