Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: fix api param name#20172

New issue

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SasSwart merged 2 commits intomainfromjjs/internal-934
Oct 6, 2025
Merged

chore: fix api param name#20172

SasSwart merged 2 commits intomainfromjjs/internal-934
Oct 6, 2025

Conversation

SasSwart
Copy link
Contributor

In#20137, we added a new flag tocoder provisioner jobs list, namely--initiator.

To make some follow-up worth it, I need to rename an API param used in the process before it becomes part of our released and tagged API.

Instead of only accepting UUIDs, we accept an arbitrary string.
We still validate it as a UUID now, but we will expand its validation to allow any string and then resolve that string the same way that we resolve the user parameter elsewhere in the API.

}
tags:=p.JSONStringMap(qp, database.StringMap{},"tags")
initiatorID:=p.UUID(qp,uuid.Nil,"initiator_id")
initiatorID:=p.UUID(qp,uuid.Nil,"initiator")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Just checking; you're saying this will change in future work? If so, then 👍🏻

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The name of the parameter will remain "initiator". The valid domain for the param will expand from being a valid uuid to also being the name of any existing user, or the special value "me"

@SasSwartSasSwart marked this pull request as ready for reviewOctober 6, 2025 11:58
@SasSwartSasSwart merged commita7c9e62 intomainOct 6, 2025
35 checks passed
@SasSwartSasSwart deleted the jjs/internal-934 branchOctober 6, 2025 11:58
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 6, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri approved these changes

Assignees

@SasSwartSasSwart

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@SasSwart@mafredri

[8]ページ先頭

©2009-2025 Movatter.jp