We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
I've checked the api docs: https://docs.gitlab.com/ee/api/deploy_tokens.html#create-a-project-deploy-token and it shows the create project deploy token returns:
{ "id": 1, "name": "My deploy token", "username": "custom-user", "expires_at": "2021-01-01T00:00:00.000Z", "token": "jMRvtPNxrn3crTAGukpZ", "revoked": false, "expired": false, "scopes": [ "read_repository" ] }
This api: api.DeployTokens.create(name, scopes, { projectId, expires_at: expiresAt }); Returns:
api.DeployTokens.create(name, scopes, { projectId, expires_at: expiresAt });
interface DeployTokenSchema extends Record<string, unknown> { id: number; name: string; username: string; expires_at: string; revoked: boolean; expired: boolean; scopes?: DeployTokenScope[]; }
Where is the token field?
token
Side note, I noticed that this API was just recently expanded, so thanks for that!
The text was updated successfully, but these errors were encountered:
Probably just missed it in the type! EZ fix
Sorry, something went wrong.
No branches or pull requests
Description
I've checked the api docs: https://docs.gitlab.com/ee/api/deploy_tokens.html#create-a-project-deploy-token and it shows the create project deploy token returns:
This api:
api.DeployTokens.create(name, scopes, { projectId, expires_at: expiresAt });
Returns:
Where is the
token
field?Side note, I noticed that this API was just recently expanded, so thanks for that!
The text was updated successfully, but these errors were encountered: