Add description
param to the API endpoint that creates service access tokens.
In addition, we unify all the usage in a single place.
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
N/A
All current API endpoints to create access tokens should continue to work and support the description
param:
/api/v4/user/personal_access_tokens
/api/v4/users/:user_id/personal_access_tokens
/api/v4/groups/:group_id/access_token
/api/v4/projects/:project_id/access_token
In addition, POST /api/v4/groups/:group_id/service_accounts/:user_id/personal_access_tokens
should support description
param.