Manage data by domain

One of the elements in the metadata file that is associated with each data blob is the domain. Domains are groups of users that can share data. Users can exchange data only within their domain.

If a domain value is in the POST header, that value is stored as metadata that is appended to the data blob. The domain value is a string with a maximum of 255 characters. Only one domain can be specified for each blob. Domains cannot have child domains. You cannot delete a domain, although you can update a non-blank value to a blank value.

To change the domain of a blob, issue a POST request with the blob GUID and domain that is specified in the header. Do not include any other headers or a body in the request. The URL for the POST is in the format:
http://localhost:9082/0bcfce4e-016f-43d6-bd28-13419048985d
where:
  • listen_port = 9082
  • GUID = 0bcfce4e-016f-43d6-bd28-13419048985d
And a header of
X-IBM-MEG-Domain

The return status for a successful domain update POST request is HTTP OK (200).