Skip to main content

 Services

Web services from /about to /webhooks

uri metadata

/members/{member}/groups/{group}/uris/{uri}/metadata [PUT]

Description

Create new edit on fragment provided.

The new content of the fragment must be in the enclosed entity body of the request.

Parameters

NameDescriptionRequiredTypeDefault value
contentContent of edit. DEPRECATED use enclosed entity body of the requestnostring
draftA flag to save edit as a draftnobooleanfalse
htmlA flag to specify content is HTMLnobooleanfalse
lastmodifiedThe last modified date/time of the fragment, format is ISO-8601 (prevents edit clashes)nostring
noteContent for edit notes (if exists, creates a note)nostring
note-labelsComma-separated list of label values for the note (if exists, creates a note)nostring
note-titleA title for the edit notenostringEdit note
transcludeA flag to resolve transclusions when outputting resultnobooleantrue

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.

Created on , last edited on