stable

Clone or download

Read-only

Declare REST endpoints to initiate an file creation

Ask for the tracker structure (GET trackers/:id) For each file field, you should have the URI to initiate the creation of a file attachment. Part of story #13453: finish drag'n drop images in tracker text areas Change-Id: I818f0c268d3382aa052fc23fb224d06de7881973

Modified Files

Name
A plugins/tracker/include/REST/FormElement/FieldFileRepresentation.php +43 −0 Go to diff View file
M plugins/tracker/include/REST/FormElementRepresentationsBuilder.php +12 −2 Go to diff View file
M plugins/tracker/include/REST/ResourcesInjector.class.php +18 −11 Go to diff View file
M plugins/tracker/include/REST/v1/TrackerFieldsResource.php +1 −0 Go to diff View file
M plugins/tracker/tests/rest/Artifacts/LinkedArtifactsTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/rest/TrackerBase.php +16 −2 Go to diff View file
M plugins/tracker/tests/rest/TrackerFields/TrackerFieldsTest.php +6 −1 Go to diff View file
M plugins/tracker/tests/rest/Workflows/SimpleModeTest.php +4 −4 Go to diff View file
M plugins/tracker/tests/rest/Workflows/TrackerWorkflowTransitionsTest.php +2 −2 Go to diff View file