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

Support api-objects which don't have id in api response.#44

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
gpocentek merged 2 commits intopython-gitlab:masterfrommjmaenpaa:noid_objects
Oct 24, 2014

Conversation

mjmaenpaa
Copy link
Contributor

In gitlab api Repository File and Label objects don't useid on get, post, put or delete. File uses url ending with /files for all operations and Label uses /label.
_created boolean is used to distinguish between create and update instead of presense of id.

In addition to that Label returns list with get and File returns object.getListWhenNoId boolean is used to distinguish between them.

gpocentek pushed a commit that referenced this pull requestOct 24, 2014
Support api-objects which don't have id in api response.
@gpocentekgpocentek merged commitafe0ab4 intopython-gitlab:masterOct 24, 2014
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@mjmaenpaa@gpocentek

[8]ページ先頭

©2009-2025 Movatter.jp