Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
-
2.396
Description
Hello,
It's not possible to create a view from the API, since the views are part of the Hudson config.xml itself, it seems that the createItem URL doesn't match the need as it looks designed to create the new config.xml for a dedicated job.
The REST API could be some thing like:
GET http://myserver:8080/view (All views)
GET http://myserver:8080/view/myView (switch to Specific view - myView)
POST http://myserver:8080/view (Create new view as defined in the posted XML)
Can you please have a look?
Thanks and regards,
Julien
Attachments
Issue Links
- is related to
-
JENKINS-23172 Config file provided via the REST api is missing "owner" tags
-
- Open
-
-
JENKINS-9264 Create a new job into a view via REST API
-
- Open
-
- links to
patbos oleg_nenashev
May I know the folder location of my view configuration page.
curl http://localhost:8080/jenkins/view/MyView/config.xml is not working for me.
-raja