Skip to main content

 Web service API

How to use PageSeeder's Web service API

edit psml inlinelabel

/members/{member}/groups/{group}/uris/{uri}/editlabel [GET]



This service is now obsolete and has been removed from PageSeeder 5.6+.

Use Service: /members/{member}/groups/{group}/uris/{uri}/editinlinelabel [POST] instead.

Edit the first inline label found in a fragment of the URI provided.

The fragment can be specified using the parameter fragment. If it is not present, the parameter oldcontent must be specified as it is used to retrieve the fragment from the content.

If the parameters fragment and oldcontent are both specified, only the inline labels containing the content specified are edited.

Only the first fragment containing the inline label found (if not specified) is modified but all the occurrences of the inline label matching the parameters provided are edited in that fragment.


NameDescriptionRequiredTypeDefault value
fragmentThe fragment ID to edit (only needed if the “oldcontent” parameter is not specified)yesstring
labelThe name of the label to edityeslabel
newcontentThe new content for the label (XML markup is treated as text)yesstring
oldcontentThe old content of the label (only needed if the “fragment” paremeter is not specified)yesstring

To identify the fragment, either the fragment or oldcontent parameter is required.


This service requires contributor or higher.


<label-modification fragment="123" uriid="456">
  <inline label="mylabel">my new value</inline>

Error handling

CodeCause / Description
0x1206 Invalid media type
0x120B Error processing XRefs
0x120C Error creating fragment
0x120D Content validation error
0x1218 Fragment not found with specified content
Created on , last edited on