Projects onedev server Issues #1125
#1125  REST API support
Closed
polarian opened 5 months 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 5 months ago

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

polarian commented 5 months 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?


polarian commented 5 months 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 5 months 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 5 months ago

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

polarian commented 5 months ago

Someone has been busy


Matthias Gramberg commented 4 months ago

This can be closed?

polarian commented 4 months ago

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

Robin Shen changed state to 'Closed' 4 months ago
Previous Value Current Value
Open
Closed
Robin Shen commented 4 months ago

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

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