Database Reference
In-Depth Information
• The request URL for fetching constraints on the
Artist
label is
ht-
tp://<HOST>:<PORT>/db/data/schema/constraint/Artist
• The headers are
Accept: application/json; charset=UTF-8
The preceding request will fetch all the constraints created on the
Artist
label.
Note
For deleting the constraint, you need to use
DELETE
as the request method type and ap-
pend the property to the URL on which the index needs to be deleted, for example,
DELETE /db/data/schema/constraint/Artist/ uniqueness /Age
where
Artist
is the label and
Age
is the property.