[APIv2] Project Resource Controller
Project Resource Controller
For this controller we will likely face some non-backward compatible changes. When relying on these features you can subscribe to notifications on this issue and/or engage into the discussion. Changes will be announced here.
Discussion points are classified as follows:
-
⚠ ️ May introduce breaking change. -
💡 Addition to existing interface -
❓ Open question, further discussion will be done in this thread
Discussion
ResourceForCreationDto
-
⚠ ️ Use"type": {"id": "..."}
instead ofresourceTypeId
. -
⚠ ️ renameresourceTypeOptions
tooptions
ResourceDto
-
⚠ ️ Movetype.options
tooptions
, please check that resource type options are consistent in the related Dtos (sometimes found astype.options
,options
,resourceTypeOptions
).options
would definitely be preferred from my side. -
⚠ ️ makefixedValues
RDF serialized like application profiles instead of JSON ("fixedValues": {"type":"...", "content":"..."}
). It seems like some form of JSON-LD anyway.
resources/{resourceId}
-
💡 Add property"projects":[{"id":"...", "displayName":"..."}]
to this endpoint to allow a user to navigate to the "real" endpoint.
Edited by Petar Hristov