Fix (project_access_tokens.md): types
What does this MR do and why?
Fix project and group access token_id type to int
Tokens are identified by their token_id
, which is an int
; string
is not supported.
Consistently use lower case types, e.g Date
→ date
..
Consistently use … or …
instead of …/…
.
Consistently no space after colon.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
N/A
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
# glapi projects/3/access_tokens/748
{
"access_level": 10,
"active": true,
"created_at": "2024-02-12T11:04:50.326+01:00",
"expires_at": "2024-03-13",
"id": 748,
"last_used_at": "2024-02-21T13:30:39.647+01:00",
"name": "errata-release",
"revoked": false,
"scopes": [
"api"
],
"user_id": 754
}
# glapi projects/3/access_tokens/errata-release
{
"message": "404 Could not find project access token with token_id: errata-release Not Found"
}
Edited by Philipp Hahn