Projects onedev server Issues #1125
#1125  REST API support
Closed
Unknown opened 1 year ago

I have decided just to make a blanket issue for discussing the REST API now because I keep having to ask more questions.

What does the "updateId" represent, it seems to return the same id as the project, so I am a little confused the need for it and when it changes, could you explain this value please?

Robin Shen commented 1 year ago

Do not worry about updateId, it will be removed in next patch release.

Unknown commented 1 year ago

Ah, so it is a deprecated value?

I can't ignore it as of right now otherwise marshalling would go very badly. By patch release, you mean 7.9.6?


Unknown commented 1 year ago

I assume you do not have much time and the REST API is not a big priority, can you point me to the section of the codebase in which you document the REST API.

It would be useful if you add a a symbol on all values which are Nullable to stop NullPointerExceptions when trying to use the REST API, because currently you got to guess if they are null or not (unless there is an info note next to the value).


Robin Shen commented 1 year ago

I added some api help to indicate whether or not a property is allowed to be null. May not be complete though.

Robin Shen commented 1 year ago

Forget to mention that this will be available in 7.9.6 to be released soon.

Unknown commented 1 year ago

Someone has been busy


Matthias Gramberg commented 1 year ago

This can be closed?

Unknown commented 1 year ago

I guess but it may need to be reopened in the future

Robin Shen changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
Robin Shen commented 1 year ago

OK. I am closing this. Let's reopen it if necessary.

issue 1 of 1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
onedev/server#1125
Please wait...
Page is in error, reload to recover