uri metadata
/members/{member}/groups/{group}/uris/{uri}/metadata [PUT]
| API Support | Available since | Last updated | Output |
|---|---|---|---|
| 5.0100 | 6.0000 | xml |
Description
Create new edit on fragment provided.
The new content of the fragment must be in the enclosed entity body of the request.
Parameters
| Name | Description | Required | Type | Default value |
|---|---|---|---|---|
| content | Content of edit. DEPRECATED use enclosed entity body of the request | no | string | |
| draft | A flag to save edit as a draft | no | boolean | false |
| html | A flag to specify content is HTML | no | boolean | false |
| lastmodified | The last modified date/time of the fragment, format is ISO-8601 (prevents edit clashes) | no | string | |
| note | Content for edit notes (if exists, creates a note) | no | string | |
| note-labels | Comma-separated list of label values for the note (if exists, creates a note) | no | string | |
| note-title | A title for the edit note | no | string | Edit note |
| transclude | A flag to resolve transclusions when outputting result | no | boolean | true |
Permission
This service requires contributor or higher.
Response
<fragment-creation [unresolved-xrefs="true"]>
<metadata editid="4645002"
modified="2022-05-27T16:09:52+10:00">
<properties>
<property name="category" title="Category" value="books"/>
</properties>
</metadata>
</fragment-creation>
Error Handling
No specific errors expected for this service.