Add segmentField auto-fill for webroot create request
- Dominant language
- Java
- Stars
- 593
- Forks
- 123
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 4
Description
```
@Test
public void testCreateNodeViaPath() {
NodeCreateRequest nodeCreateRequest = new NodeCreateRequest();
nodeCreateRequest.setLanguage("en");
nodeCreateRequest.setSchemaName("content");
nodeCreateRequest.getFields().put("teaser", FieldUtil.createStringField("some teaser"));
//nodeCreateRequest.getFields().put("slug", FieldUtil.createStringField("new-page.html"));
nodeCreateRequest.getFields().put("content", FieldUtil.createStringField("Blessed mealtime again!"));
NodeResponse response = call(() -> client().webrootCreate(PROJECT_NAME, "/new-page.html", nodeCreateRequest));
assertEquals("0.1", response.getVersion());
}
```
* Add test which tests node creation with missing segmentField field
* Add documentation on webroot update / create handling
* Implement segmentField usage for node create requests via webroot
Contributor guide
Assessment
This issue has not been assessed yet.