Opentext™ Documentum™ Rest Services: Reference Guide
Opentext™ Documentum™ Rest Services: Reference Guide
Services
Reference Guide
EDCPKRST220200-PRE-EN-01
OpenText™ Documentum™ REST Services
Reference Guide
EDCPKRST220200-PRE-EN-01
Rev.: 2022-May-09
This documentation has been created for OpenText™ Documentum™ REST Services CE 22.2.
It is also valid for subsequent software releases unless OpenText has made newer documentation available with the product,
on an OpenText website, or by any other means.
Tel: +1-519-888-7111
Toll Free Canada/USA: 1-800-499-6544 International: +800-4996-5440
Fax: +1-519-888-0677
Support: https://support.opentext.com
For more information, visit https://www.opentext.com
One or more patents may cover this product. For more information, please visit https://www.opentext.com/patents.
Disclaimer
Every effort has been made to ensure the accuracy of the features and techniques presented in this publication. However,
Open Text Corporation and its affiliates accept no responsibility and offer no warranty whether expressed or implied, for the
accuracy of this publication.
Table of Contents
1 Overview ................................................................................... 13
1.1 Hypermedia-driven API ................................................................... 13
2 Resources ................................................................................ 17
2.1 Organization of Resource Reference Documentation ........................ 17
2.2 Installing Additional Services ............................................................ 18
2.2.1 Collaboration services ..................................................................... 18
2.2.2 Search services .............................................................................. 19
2.2.3 Contextual Content Engine services ................................................. 19
2.2.4 Documentum Process Builder services ............................................. 20
2.3 All Versions .................................................................................... 20
2.3.1 Resource relationships .................................................................... 20
2.3.2 Feed .............................................................................................. 21
2.3.3 Link relations .................................................................................. 21
2.3.4 Operations ...................................................................................... 21
2.4 ACL ............................................................................................... 42
2.4.1 ACL ............................................................................................... 42
2.4.2 ACLs Collection .............................................................................. 55
2.5 ACL Associations ............................................................................ 65
2.5.1 Resource relationships .................................................................... 65
2.5.2 Feed .............................................................................................. 66
2.5.3 Link relations .................................................................................. 66
2.5.4 Operations ...................................................................................... 66
2.6 Archived Contents ........................................................................... 70
2.6.1 Resource relationships .................................................................... 70
2.6.2 Feed .............................................................................................. 70
2.6.3 Link relations .................................................................................. 70
2.6.4 Operations ...................................................................................... 70
2.7 Aspect Type (s) ............................................................................... 78
2.7.1 Aspect Type ................................................................................... 78
2.7.2 Aspect Types .................................................................................. 83
2.8 Audit Policy (ies) ............................................................................. 86
2.8.1 Audit Policy ..................................................................................... 86
2.8.2 Audit Policies .................................................................................. 93
2.9 Audit Trail (s) ................................................................................ 100
2.9.1 Audit Trail ..................................................................................... 100
2.9.2 Audit Trails ................................................................................... 107
2.10 Available Audit Events ................................................................... 112
2.10.1 Resource relationships .................................................................. 112
2.10.2 Feed ............................................................................................ 112
This guide is designed as a resource catalog that focuses on how resources are
related to one another. It gives you a general description of each resource and also
discusses the operations that you can perform on each resource.
Before consuming Documentum REST Services, a REST client requires the URI of
the service’s Home document. This Home document is the entry point for the whole
REST service The Home document URI is the only permanent URI path that the
REST client must bookmark: For example /services.
Issuing an HTTP GET Request for the entry point returns the Home Document,
which contains the link relations for all of the top-level resources that are exposed by
the Documentum REST Service. By default, the resources exposed include the
Repositories collection and the Product Information resource.
{
resources: {
http://identifiers.emc.com/linkrel/repositories: {
href: "http://localhost:8080/dctm-rest/repositories"
hints: {
allow:
"GET"
representations:
"application/xml"
"application/json"
"application/atom+xml"
"application/vnd.emc.documentum+json"
}
}
about: {
href: "http://localhost:8080/dctm-rest/product-info"
hints: {
allow:
"GET"
representations:
"application/xml"
"application/json"
"application/vnd.emc.documentum+xml"
"application/vnd.emc.documentum+json"
}
}
}
}
The key for each resource is an immutable link relation name that defines the
relation to the target resource. Each resource has an href attribute that contains the
URI of the resource.
Note: An href does not have to be the same from one Documentum REST API
version to another and may change without notice. This underscores the
importance of avoiding hard-coded URIs in your client applications.
Each link relation name, such as self, edit, and about, provides the client with
unchangeable identifiers that identify specific resources.
This code sample illustrates the delete link relation in the rel element. It also
demonstrates that the purpose of the href link is to delete the current resource,
which in this case is acme02.
"links": [
{
"rel": " http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/acme02"
}
]
The logical relations between Documentum Core resources are managed using
either link relations or feed-to-entry containership. The following diagram lists
Documentum Core resources from a logical relation point of view.
As you can see in the diagram above, the Home Document resource is the starting
point for everything. For example, to obtain the representation of the Repository
resource, you must following these steps:
1. Issue a GET Request for the Home Document to discover the Repositories
collection.
2. Issue a GET Request for the Repositories collection, which returns all of the links
pointing to single Repository resources.
3. Search the returned links for one that points to the Repository resource that you
want and use to perform your task.
The link relations in the Repository resource give you information about what
operations you can perform on that resource. This approach determines the way that
a hypermedia RESTful web service interacts with REST clients.
The Explore Documentum REST Services and Tutorial: Consume REST Services
Programmatically chapters, which are in the OpenText Documentum REST Services
Development Guide, provide you with detailed examples on how hypermedia links
work in resource discovery and operation execution.
Resources
Resource URIs are used to identify the physical locations of server resources.
According to REST services best practices, resource URIs should be discovered using
hypermedia, such as link relations and the response Location header. The only
exception is the root entry URI of the Home Document resource.
• Resources to the right of the target resource (resources 1 to 4 in the sample) are
those that you can reach from the target resource. The diagrams displays at most
four resources to the right of the target resource. Other resources, if they exist,
are shown as suspension points such as (…).
• The string labelled as more on arrows is not a link relation. It is an indication that
you can reach more than four resources from the target resource.
• Collaboration services
• Search services
• Contextual Content Engine (CCE) services
• Documentum Process Builder services
For detailed description about CCE related runtime property configuration, see to
the Contextual Content Engine (CCE) Service Configuration section of the rest-
api-runtime.properties.template file in the dctm-rest.war\WEB-INF\classes
folder.
Therefore, the following resources are only available when the process engine is
enabled on the target repositories:
• Work Queue
• Work Queues
• Work Queue Task
• Work Queue Tasks
See Also: “SysObject” on page 690 and About the Diagram on page 17.
2.3.2 Feed
Is this resource a feed? Yes.
2.3.4 Operations
2.3.4.1 Supported HTTP methods
Method Description
GET Retrieves all versions of a given SysObject.
POST Checks in a given >SysObject.
A request can
contain
multiple
version-
label
variables.
Objects
whose
version-
label
matches any
of those are
returned.
latest- Specifies string true, false false
versions- whether or
only not to show
the latest
versions only.
You must
encode
parameter q
because it
may contain
non-English
locale
characters.
Note:
Internat
ional
charact
ers that
are
used in
this
query
parame
ter
must be
sent
with
URL
encode
d by
the
UTF-8
charset.
Otherw
ise, the
result
may be
incorre
ct.
• inline
• sort
• page
• items-per-page
• include-total
• view
• links
• filter
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
None
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
None
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• Each object may contain all or a set of properties of the versions, depending on
the setting of the view query parameter.
• The returned child objects collection only contains those items to which you have
access.
• Pagination is supported.
• By default, the results are sorted by the i_latest_flag and creation-date
properties in descending order.
When more
than one
piece of
content
exists, the
total content
count must
be provided.
Otherwise,
only the first
content type
is used. For
example,
when you
import an
object with
one object
metadata and
five binary
content types,
then the
value of the
content-
count
parameter is
5.
A comma
separated list
can be used
to specify
multiple
values for
this
parameter.
For example:
content-
length=
1024,2048,
,4096. The
blank value
shown above
is 0.
When the
all-
primary
parameter is
false, the
first value in
the comma
separated list
is used for
the
content-
length of
the primary
content, and
all other
values in the
list are
ignored.
The format
list must
match the
content
sequence.
When you
don't want to
specify the
format for a
piece of
content you
can leave it
blank in the
comma
separated list
but you must
still include
the comma as
a placeholder.
For example:
format=
crtext,,
html
When the
format for a
piece of
content is not
defined, the
server uses
When the
all-
primary
parameter is
true and
page=0, all
primary
content types
must have
the same
format. In
this case,
when you
define more
than one
format, they
must be the
same.
For example:
format=
crtext,
crtext,
crtext.
When the
all-
primary
parameter is
true and the
page
parameter is
greater than
0, you can
define one
format for all
of the
primary
content. For
example:
format=
crtext. In
this case, all
format values
must be the
same as the
format of the
primary
When the
content-
charset
parameter is
not set and
content is in
HTML
format, the
server tries to
get a value
for the
content-
charset
parameter
from the
metadata
information
of the content
itself.
When the
metadata has
a valid
charset, then
it is used to
sanitize the
content.
Otherwise,
Note:
When
the
charset
and
content
do not
match,
the
upload
ed
content
may
have an
incorre
ctly
encode
d value.
For example,
when you
import with
the all-
primary
parameter set
to false, the
value of the
modifier can
be: modifier
=,mod1,
mod2,mod3 .
That means
the first (or
primary)
content type
has no
modifier, and
the second
rendition’s
modifier is
mod1, the
third is mod2
and so on.
Setting the
all-
primary
parameter to
true , or when
content-
count<=1
causes all
modifiers to
be ignored.
* Repeatable parameter
Note: Here are some additional details about the variables listed above:
• format
The format list must match the content sequence. When you don't want to
specify the format for a piece of content you can leave it blank in the comma
separated list but you must still include the comma as a placeholder.
For example: format=crtext,,html
When the format for contents is not defined, the server uses the content
media type to select the format.
When the all-primary parameter is true, all primary content types must
have the same format. In this case, when you define more than one format,
they must be the same
For example: format=crtext,crtext,crtext. You can also define one
format for all of the primary content: format=crtext
• content-charset
When the metadata has a valid charset, then it is used to sanitize the content.
When the content-charset is not provided and the content is in HTML
format, the server tries to get a value for the content-charset parameter
from the metadata information of the content itself.
The configuration default charset is used when the content-charset
parameter and the metadata information are not found
When the charset and the content do not match, the uploaded content may
have an incorrectly encoded value.
• content-length
When the all-primary parameter is set to false, the first value of in the
content-length parameter is used for the primary piece of content, the
other values in the comma separated string are ignored.
When storing content to Centera storage, the content-length parameter is
mandatory and must be provided.
For other storage mediums, such as harddisk, the content-length
parameter is optional.
In all cases, including when the content-length parameter is not required,
if a value for it is set, the value must be an accurate byte count of the
contents to be uploaded.
• content-count
When you import more than one piece of contents, the REST server must
know how many content pieces there are in total. The total number of
content pieces cannot be obtained until the end of the multipart stream.
Therefore, the client must specify this number in the value of the content-
count parameter.
When the value set in the content-count parameter is greater than the
actual number of content pieces, an exception is thrown because the system
expects more content pieces.
When the value set in the content-count parameter is less than the actual
number of content pieces, all content pieces that exist in addition to the
number of pieces set in the content-count parameter are ignored.
The value provided by the content-count must be accurate.
When the client tries to check in both the metadata and one or more pieces of
content, the Content-Type must be one of the following:
• multipart/form-data
• multipart/mixed
In addition to the above, the Content-Type of the first part must either:
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
When the client tries to check in more than one piece of content without metadata,
the Content-Type must be one of the following:
• multipart/form-data
• multipart/mixed
When the client tries to check in the metadata only, the Content-Type must be one
of the following:
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
For content types other than any of the types mentioned above, the server treats the
operation as a single content-only check-in.
• Authorization
• Accept
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
--314159265358979
Content-Disposition: form-data; name=binary1
Content-Type: text/plain
This is content
--314159265358979--
--314159265358979
Content-Disposition: form-data; name=metadata
Content-Type: application/vnd.emc.documentum+xml
<object>
<properties>
<object_name>xyz</object_name>
</properties>
</object>
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979--
--314159265358979
Content-Disposition: form-data; name=metadata
Content-Type: application/vnd.emc.documentum+json
{
"properties":{
"object_name":"xyz"
}
}
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979--
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979--
• Content-Type
• Location
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
2.4 ACL
2.4.1 ACL
The ACL resource represents the object instance for an Access Control List (ACL).
See Also: “ACLs Collection” on page 55 and About the Diagram on page 17.
2.4.1.2 Feed
No feed support.
2.4.1.4 Operations
2.4.1.4.1 Supported HTTP methods
Method Description
POST Updates the attributes of the ACL object
instance
GET Retrieves the attributes and other
information of the ACL object instance
DELETE Deletes the ACL object instance from the
repository
Retrieves the attributes and other information of the ACL object instance. Attributes
are returned as embedded elements in the response message body. Other
information is available within the link relations of the response message body.
GET
• view
• links
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
– r_accessor_name
– r_accessor_permit
– r_accessor_xpermit
– r_is_group
– r_permit_type
– r_application_permit
These six elements contain the same number of items, which is also the number
of entries in the ACL. The combination of items and elements positioning creates
a key value pair that represents one ACL entry.
In the following code sample, the combination of all first items indicates that the
accessor <dm_world>, which is an individual user where <r_is_group> is false, has
Read basic permission (<r_accessor_permit> is 3), as well as EXECUTE_PROCEDURE and
CHANGE_LOCATION extended permissions (<r_accesor_xpermit> is 0) on the objects to
which this ACL is attached. It also indicates that the entry’s permit type is
<AccessPermit> (r_permit_type is 0).
Content-Type: application/vnd.emc.documentum+xml;charset=UTF-8
href="http://localhost:8080/dctm-rest/repositories/
REPO/acls/4500000580000d07/associations"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/
REPO/acls/4500000580000d07"/>
</links>
</acl>
Content-Type: application/vnd.emc.documentum+json;charset=UTF-8
{
"name": "acl",
"type": "dm_acl",
"definition": "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_acl",
"properties": {
"object_name": "dm_4500000580000d07",
"description": "dm_4500000580000d07",
"owner_name": "dave",
"r_is_internal": true,
"r_accessor_name": [
"dm_world",
"dm_owner",
"dm_group"
],
"r_accessor_permit": [
3,
7,
5
],
"r_accessor_xpermit": [
0,
0,
3
],
"r_is_group": [
false,
false,
false
],
"globally_managed": false,
"acl_class": 0,
"r_has_events": false,
"r_permit_type": [
0,
0,
0
],
"r_application_permit": [
"",
"",
""
],
"i_has_required_groups": false,
"i_has_required_group_set": false,
"i_has_access_restrictions": false,
"r_template_id": "0000000000000000",
"r_alias_set_id": "0000000000000000",
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 0,
"r_object_id": "4500000580000d07"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/acls/
4500000580000d07"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/acls/
4500000580000d07"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/acls/
4500000580000d07"
},
{
"rel": "http://identifiers.emc.com/linkrel/associations",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/acls/
4500000580000d07/
associations"
}
]
}
Updates the ACL with specified attributes. When a client provides a request body
that contains undefined or read only attributes, the server throws an exception. An
ACL object can only be modified by its owner or the SuperUser.
The server throws an exception when the update request provides attributes whose
values do not have matching positions in the repeating attributes, such as r_
accessor_name and r_accessor_permit.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
A single XML or JSON object instance. Only the following properties can be put into
the request message body:
• <description>
• <acl_class>
• <r_accessor_name>
• <r_accessor_permit>
• <r_accessor_xpermit>
• <r_application_permit>
• <r_permit_type>
Notes
• Except for <description> and <acl_class>, all editable properties are prefixed
with <r_>, and must contain the same number of items. Otherwise, the REST
server throws an exception.
• Every ACL has two built-in accessors: <dm_world> and <dm_owner>. The
default permission value of these two accessors is defined by the
Documentum Server configuration.
• To update an ACL template instance (acl_class=2), you must change it to a
regular (acl_class=0) ACL, public (acl_class=3) ACL, or template (acl_class=1)
ACL first. Additionally, you cannot change a regular, public, or template
ACL into an ACL template instance.
<item>{accessor-name_2}</item>
</r_accessor_name>
<r_accessor_permit>
<item>{accessor-permit_1}</item>
<item>{accessor-permit_1}</item>
</r_accessor_permit>
<r_permit_type>
<item>{permit-type_1}</item>
<item>{permit-type_1}</item>
</r_permit_type>
...
</properties>
</acl>
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
When the response is successful, it contains all the attributes of the updated object.
<link rel="http://identifiers.emc.com/linkrel/delete"
href="{aclResourceUri}"/>
<link rel="http://identifiers.emc.com/linkrel/associations"
href="{aclAssociationsResourceUri}"/>
</links>
</acl>
{
"name": "acl",
"type": "dm_acl",
"definition": "{typeResourceUri}",
"properties": {
"object_name": "{object-name}",
"description": "{description of this object}",
"owner_name": "{object-owner}",
"r_accessor_name": [
"dm_world",
"dm_owner",
"{accessor-name_1}",
"{accessor-name_2}"
],
"r_accessor_permit": [
3,
7,
{accessor-permit_1},
{accessor-permit_2}
],
"r_permit_type": [
0,
0,
{permit-type_1},
{permit-type_2}
],
...
},
"links": [
{
"rel": "self",
"href": "{aclResourceUri}"
},
{
"rel": "edit",
"href": "{aclResourceUri}"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "{aclResourceUri}"
},
{
"rel": "http://identifiers.emc.com/linkrel/associations",
"href": "{aclAssociationsResourceUri}"
}
]
}
Deletes the ACL object instance. When deletion fails, an exception is thrown.
N/A
Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.4.2.2 Feed
Is this resource a feed? Yes.
2.4.2.4 Operations
Method Description
POST Creates an ACL
GET Retrieves ACLs that are available to the
current user from a repository
Lists all the available ACLs in the repository for the current user.
GET
• inline
• sort
• page
• items-per-page
• include-total
• view
• links
• filter
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
&items-per-page=2&page=2"/>
<link rel="first" href="http://localhost:8080/dctm-rest/repositories/REPO/
acls?filter=owner_name=%27dave%27%20and%20r_is_internal=false
&items-per-page=2&page=1"/>
<entry>
<id>4500000580001d18</id>
<title>test_acl_1377352452</title>
<updated>2015-06-09T10:20:41.906+00:00</updated>
<published>2015-06-09T10:20:41.906+00:00</published>
<link rel="edit" href="http://localhost:8080/dctm-rest/repositories/REPO/
acls/
4500000580001d18"/>
<content type="application/vnd.emc.documentum+xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/acls/
4500000580001d18"/>
</entry>
<entry>
<id>4500000580001d58</id>
<title>3fb1de-8f77-4064-92a8-90d8950676</title>
<updated>2015-06-09T10:20:41.906+00:00</updated>
<published>2015-06-09T10:20:41.906+00:00</published>
<link rel="edit" href="http://localhost:8080/dctm-rest/repositories/REPO/
acls/
4500000580001d58"/>
<content type="application/vnd.emc.documentum+xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/acls/
4500000580001d58"/>
</entry>
</feed>
Content-Type: application/vnd.emc.documentum+json;charset=UTF-8
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/acls",
"title": "ACLs",
"author": [
{
"name": "OpenText Documentum"
}
],
"updated": "2015-06-11T03:29:15.085+00:00",
"page": 1,
"items-per-page": 2,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/acls?
filter=owner_name=%27dave%27%20and%20r_is_internal=false
&items-per-page=2"
},
{
"rel": "next",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/acls?
filter=owner_name=%27dave%27%20and%20r_is_internal=false
&items-per-page=2&page=2"
},
{
"rel": "first",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/acls?
filter=owner_name=%27dave%27%20and%20r_is_internal=false
&items-per-page=2&page=1"
}
],
"entries": [
{
"id": "4500000580001d37",
"title": "test_acl_1913536617",
"updated": "2015-06-11T03:29:15.127+00:00",
"published": "2015-06-11T03:29:15.127+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
acls/
4500000580001d37"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/acls/
4500000580001d37"
}
},
{
"id": "4500000580001d58",
"title": "restAcl8f62ed43-f9",
"updated": "2015-06-11T03:29:15.130+00:00",
"published": "2015-06-11T03:29:15.130+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
acls/
4500000580001d58"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/acls/
4500000580001d58"
}
}
]
}
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
<item>{accessor-permit_2}</item>
</r_accessor_permit>
<r_permit_type>
<item>0</item>
<item>0</item>
<item>{permit-type_1}</item>
<item>{permit-type_2}</item>
</r_permit_type>
... ...
</properties>
</acl>
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
• dm_world
• dm_owner
Even when these two accessors and their permissions are not provided by the client,
the server grants them default permissions in the ACL object. The default
permission value for each of these two accessors is defined by the configuration of
the Documentum Server.
Location: http://localhost/dctm-rest/repositories/REPO/acls/
45000005800019c1
Content-Type: application/vnd.emc.documentum+json;charset=UTF-8
<?xml version='1.0' encoding='UTF-8'?>
<acl xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:type="dm_acl"
definition="{typeResourceUri}">
<properties>
<object_name>{object-name}</object_name>
{
"name": "acl",
"type": "dm_acl",
"definition": "{typeResourceUri}",
"properties": {
"object_name": "{object-name}",
"description": "{description of this object}",
"owner_name": "{object-owner}",
"r_accessor_name": [
"dm_world",
"dm_owner",
"{accessor-name_1}",
"{accessor-name_2}"
],
"r_accessor_permit": [
3,
7,
{accessor-permit_1},
{accessor-permit_2}
],
"r_permit_type": [
0,
0,
{permit-type_1},
{permit-type_2}
],
... ...
},
"links": [
{
"rel": "self",
"href": "{aclResourceUri}"
},
{
"rel": "edit",
"href": "{aclResourceUri}"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "{aclResourceUri}"
},
{
"rel": "http://identifiers.emc.com/linkrel/associations",
"href": "{aclAssociationsResourceUri}"
}
]
}
See Also: “ACL” on page 42 and About the Diagram on page 17.
2.5.2 Feed
Is this resource a feed? Yes.
2.5.4 Operations
2.5.4.1 Supported HTTP methods
Method Description
GET GET all SysObjects associated with a
specific ACL object.
GET
• inline
• sort
• page
• items-per-page
• include-total
• view
• links
• filter
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A.
• Accept
• Authorization
N/A.
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.6.2 Feed
Is this resource a feed? Yes.
2.6.4 Operations
2.6.4.1 Supported HTTP methods
Method Description
GET Using a ZIP file format, this method retrieves
all of the contents from a single object.
POST Using a ZIP file format, this method retrieves
the first page of the contents, or all of the
contents, from multiple objects.
2.6.4.1.1 rest.archive.contents.threshold
# Sets the maximum size, in megabytes, of the contents that are allowed to be
archived.
# When the sum of all the contents' original size is greater than the value of
# ${rest.archive.contents.threshold} megabytes, then that contents will not be
archived
# and an error is returned by the REST server.
# The value of this runtime property defaults to 20971520 kilobytes, which is
20GB.
#
rest.archive.contents.threshold=20971520
A value of -1
is used to
return the
whole virtual
document
tree.
N/A
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
• Content-Type: application/zip
• Content-Disposition: attachment;filename={object-name}_content.zip
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
Each item in a ZIP file must have a unique name. To ensure that each content object
item in the ZIP file has a unique name, the REST server follows these naming
conventions to generate each content object name:
• By default, each content object is named using the following pattern: {object-
name}.{extension}
– Let’s say that there is a folder named <mmtm_deck> in the home cabinet, and
the folder id is <0b0000058000951d>.
– The above folder has 7 documents in it. Some of those documents have a file
name and extension and others do not. The following image shows this
folder:
In the above image, we have numbered the files so we can see the resulting
file names in the next image. Take particular note of files number 3 and 4
above, they both have the same file name and file extension.
– At this point, we use the REST API to download the above folder’s contents to
our local file system using the following GET method statement:
/dctm-rest/repositories/REPO/archived-contents?object-
id=0b0000058000951d
– The response is a ZIP file that we can save to our local file system. The
suggested name for the resulting ZIP file is mmtm_deck_content.zip.
– When we extract the ZIP file and examine the folder contents, we see the
folder structure shown in the image below. Note the resulting names for files
that would have caused a name duplication, such as file number 4
(NetTopology), which has had its name generated using its object ID.
GET /dctm-rest/repositories/REPO/archived-contents?object-id=0b0004d2800060e6
HTTP/1.1
Host: localhost:8080
Authorization: Basic ZG1hZG1pbjpwYXNzd29yZA==
// Response
Status 200 OK
content-type →application/zip
Retrieves the first page of contents or all of the contents for multiple objects in ZIP
file format. When an object is a folder (or a subtype of <dm_folder>), the REST server
gets the contents of those objects (<dm_sysobject>) that are under that folder. When
this is the case, virtual documents are treated as simple documents.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The Request body contains a list of URLs for the object, document, or folder that the
client wants to download. The contents of the object is downloaded only once, even
when a duplicated object id is provided by the client.
• Content-Type: application/zip
• Content-Disposition: attachment;filename=multiple_objects_contents.zip
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
The Response returns a formatted stream of the object contents as a ZIP file. When
the specified object is a folder, then all of the contents of the specified object are
located within a folder with the same name as the object in the ZIP file.
When an object name duplication exists within the ZIP file, the folder’s name is
generated using the object-id. For example, a folder called test-folder, whose id
is 0b0004d2800060e7 would be named test-folder(0b0004d2800060e7) . Each
file name within the ZIP file must be unique and must also comply with the naming
conventions listed in “Get a single object’s contents” on page 71.
{
"hrefs":
[
"http://localhost:8080/dctm-rest/repositories/REPO/objects/
090004d280005520",
"http://localhost:8080/dctm-rest/repositories/REPO/objects/
090004d280005521",
"http://localhost:8080/dctm-rest/repositories/REPO/documents/
090004d28000555d"
]
}
// Response
Status 200 OK
content-type application/zip
See Also: “Aspect Types” on page 83 and About the Diagram on page 17.
2.7.1.2 Feed
No feed support.
2.7.1.4 Operations
Method Description
GET GET an aspect type.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• When the aspect type defines additional properties, the type link relation points
to the Type resource that contains the properties that this Aspect Type resource
defines.
• The properties block contains the following two sets of data:
metadata of these properties in eight elements, all of which are prefixed with
attr_ as shown here:
These eight elements contain the same number of items, which is also the
number of properties this aspect type defines. The combination of items in the
same position of these elements represents one property this aspect type
defines. In the following sample, the combination of all first items indicates
that this resource defines a string property named annotation_name. The
property annotation_name is a repeating property with a maximum length
of 225.
Note: When the value of an element that is prefixed with attr_ is null,
that element is not shown in the Response. That is why the following code
sample only contains four elements.
XML response
<?xml version="1.0" encoding="UTF-8"?>
<aspect-type
definition="http://localhost:8080/dctm-rest/repositories/REPO/types/
dmc_aspect_type.xml"
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="dmc_aspect_type">
<properties>
<group_name>docu</group_name>
<acl_name>BOF_acl</acl_name>
<world_permit>3</world_permit>
<creation-date>2015-03-03T02:29:34.000+00:00</creation-date>
<r_object_type>dmc_aspect_type</r_object_type>
<min_dfc_version>6.0</min_dfc_version>
<owner_name>Administrator</owner_name>
<implementation_technology>Java</implementation_technology>
<primary_class>com.documentum.smart.impl.aspect.AnnotatableAspect</primary_class>
<owner_permit>7</owner_permit>
<a_bof_version/>
<a_interfaces xsi:nil="true"/>
<r_object_id>0b000005800005b0</r_object_id>
<r_modify_date>2015-03-03T02:30:13.000+00:00</r_modify_date>
<group_permit>1</group_permit>
<i_folder_id>
<item>0b00000580000180</item>
</i_folder_id>
<r_folder_path>
<item>/System/Modules/Aspect/my_aspect_1</item>
</r_folder_path>
<object_name>my_aspect_1</object_name>
<target_object_type xsi:nil="true"/>
<r_creator_name>Administrator</r_creator_name>
<r_modifier>Administrator</r_modifier>
<acl_domain>REPO_ADMIN</acl_domain>
<a_module_type>Aspect</a_module_type>
<attr_name>
<item>annotation_name</item>
<item>module_name</item>
<item>annotation_metadata</item>
<item>i_partition</item>
</attr_name>
<attr_repeating>
<item>true</item>
<item>true</item>
<item>true</item>
<item>false</item>
</attr_repeating>
<attr_type>
<item>string</item>
<item>string</item>
<item>string</item>
<item>integer</item>
</attr_type>
<attr_length>
<item>255</item>
<item>255</item>
<item>1024</item>
<item xsi:nil="true"/>
</attr_length>
</properties>
<links>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/aspect-types/
my_aspect_1"
rel="self"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/types/
dmi_03000005800001d3"
rel="http://identifiers.emc.com/linkrel/type"/>
</links>
</aspect-type>
JSON response
{
"name" : "aspect-type",
"type" : "dmc_aspect_type",
"definition" : "http://localhost:8080/dctm-rest/repositories/REPO/types/
dmc_aspect_type",
"properties" : {
"group_name" : "docu",
"acl_name" : "BOF_acl",
"world_permit" : 3,
"creation-date" : "2015-03-03T02:29:34.000+00:00",
"r_object_type" : "dmc_aspect_type",
"min_dfc_version" : "6.0",
"owner_name" : "Administrator",
"implementation_technology" : "Java",
"primary_class" : "com.documentum.smart.impl.aspect.AnnotatableAspect",
"owner_permit" : 7,
"a_bof_version" : "",
"a_interfaces" : null,
"r_object_id" : "0b000005800005b0",
"r_modify_date" : "2015-03-03T02:30:13.000+00:00",
"group_permit" : 1,
"i_folder_id" : [
"0b00000580000180"
],
"r_folder_path" : [
"/System/Modules/Aspect/my_aspect_1"
],
"object_name" : "my_aspect_1",
"target_object_type" : null,
"r_creator_name" : "Administrator",
"r_modifier" : "Administrator",
"acl_domain" : "REPO_ADMIN",
"a_module_type" : "Aspect",
"attr_name" : [
"annotation_name",
"module_name",
"annotation_metadata",
"i_partition"
],
"attr_repeating" : [
true,
true,
true,
false
],
"attr_type" : [
"string",
"string",
"string",
"integer"
],
"attr_length" : [
255,
255,
1024,
null
]
},
"links" : [
{
"rel" : "self",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/aspect-types/
my_aspect_1"
},
{
"rel" : "http://identifiers.emc.com/linkrel/type",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/types/
dmi_03000005800001d3"
}
]
}
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.7.2.2 Feed
Is this resource a feed? Yes.
• Feed ID: URI of the Aspect Types resource without the file extension
• Feed Title: Aspect types
• Feed Updated: Server's current time
• Supports POST: No
• Entry: “Aspect Type” on page 78
• Entry ID: URI of the Aspect Type
• Entry Title: Aspect Type name
• Entry Updated: r_modify_date of the Aspect Type
2.7.2.4 Operations
Method Description
GET GET all aspect types in a repository
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json (For compatible viewing)
Properties that an Aspect Type resource defines, which are prefixed with attr_ are
not displayed in the response. Additionally, these properties do not take effect in the
view, filter, and sort parameters.
See Also: “Audit Policies” on page 93 and About the Diagram on page 17.
2.8.1.2 Feed
No feed support.
2.8.1.4 Operations
2.8.1.4.1 Supported HTTP methods
Method Description
GET Retrieves a single Audit Policy object
using its ID.
POST Update the current Audit Policy for
specified attributes.
DELETE Delete the current Audit Policy object.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
{
"name": "AuditAdminCanPurgeDocument",
"accessor-name": "auditadmin",
"attribute-rules": {
"time_stamp_utc": "2017-06-20 16:00:00",
"object_type": "dm_user"
}
}
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
N/A
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.8.2.2 Feed
Is this resource a feed? Yes
2.8.2.4 Operations
2.8.2.4.1 Supported HTTP methods
Method Description
GET Retrieves all Audit Policies from the
repository.
POST Create a new Audit Policy.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
</entry>
</feed>
"src": "http://localhost:8080/dctm-rest/repositories/repo/audit-
policies/
0002791780000d19"
}
}
]
}
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
{
"name": "AuditAdminCanPurgeDocument",
"accessor-name": "auditadmin",
"attribute-rules": {
"time_stamp_utc": "2017-06-20 16:00:00",
"object_type": "dm_user"
}
}
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
href="http://localhost:8080/dctm-rest/repositories/repo/audit-
policies/
0002791780000d00"/>
</links>
</audit-policy>
Logged in users must have VIEW privileges in their extended user privileges to
access to this resource. In addition, logged in users must have PURGE privileges to
gain access to the DELETE link for certain Audit Trail objects. Otherwise, the
DELETE link is not visible in those Audit Trail objects.
See Also: “Audit Trails” on page 107 and About the Diagram on page 17.
2.9.1.2 Feed
No feed support.
2.9.1.4 Operations
2.9.1.4.1 Supported HTTP methods
Method Description
GET Retrieves the audit trail object.
DELETE Purges the audit trail object.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
(0)",
object_name="Result.dm_FTQBS_HOURLY"
</attribute_list>
<attribute_list_id>0000000000000000</attribute_list_id>
<audit_version>4</audit_version>
<host_name>restcs72ga</host_name>
<time_stamp_utc>2015-03-03T02:34:20.000+00:00</time_stamp_utc>
<i_audited_obj_class>0</i_audited_obj_class>
<registry_id>2600000580000101</registry_id>
<i_is_archived>false</i_is_archived>
<audited_obj_vstamp>0</audited_obj_vstamp>
<attribute_list_aspect_id>0000000000000000</attribute_list_aspect_id>
<r_object_sequence>4</r_object_sequence>
<i_is_replica>false</i_is_replica>
<i_vstamp>0</i_vstamp>
<r_object_id>5f00000580000103</r_object_id>
</properties>
<audit-data-list>
<audit-data>
<attr-name>owner_name</attr-name>
<value-pairs>
<value-pair>
<old-value></old-value>
<new-value>Administrator</new-value>
</value-pair>
</value-pairs>
</audit-data>
...
</audit-data-list>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/audit-trails/
5f00000580000103"/>
<link rel="author"
href="http://localhost:8080/dctm-rest/repositories/REPO/users/
Administrator"/>
<link rel="http://identifiers.emc.com/linkrel/audited-object"
title="document"
href="http://localhost:8080/dctm-rest/repositories/REPO/documents/
0900000580000ce9"/>
</links>
</audit-trail>
{
"type": "dm_audittrail",
"definition": "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_audittrail",
"properties": {
"event_name": "dm_save",
"event_source": "System Unspecific",
"r_gen_source": 1,
"user_name": "Administrator",
"audited_obj_id": "0900000580000ce9",
"time_stamp": "2015-03-03T02:34:20.000+00:00",
"string_1": "Create",
"id_1": "0000000000000000",
"id_2": "0000000000000000",
"id_3": "0000000000000000",
"id_4": "0000000000000000",
"id_5": "0000000000000000",
"chronicle_id": "0900000580000ce9",
"object_name": "Result.dm_FTQBS_HOURLY",
"version_label": "1.0",
"object_type": "dm_document",
"event_description": "Default Event Set",
"policy_id": "0000000000000000",
"workflow_id": "0000000000000000",
"session_id": "010000058000015b",
"user_id": "1100000580000102",
"owner_name": "Administrator",
"acl_name": "dm_4500000580000101",
"acl_domain": "Administrator",
"attribute_list": "acl_name=\"dm_4500000580000101\",
acl_domain=\"Administrator\",
world_permit=3,
group_permit=5,
group_name=\"docu\",
owner_permit=7,
owner_name=\"Administrator\",
a_storage_type=\"filestore_01\",
a_full_text=0,
a_content_type=\"crtext\",
subject=\"Result of dm_method(dm_FTQBS_HOURLY) with command line:
-method_verb com.documentum.server.impl.method.fulltext
.qbs.FTQBSJob -__dm_docbase__ REPO
-__dm_server_config__ REPO -docbase_name
R....\",
title=\"Result of dm_method(dm_FTQBS_HOURLY) with status code
(0)\",
object_name=\"Result.dm_FTQBS_HOURLY\"",
"attribute_list_id": "0000000000000000",
"audit_version": 4,
"host_name": "restcs72ga",
"time_stamp_utc": "2015-03-03T02:34:20.000+00:00",
"i_audited_obj_class": 0,
"registry_id": "2600000580000101",
"i_is_archived": false,
"audited_obj_vstamp": 0,
"attribute_list_aspect_id": "0000000000000000",
"r_object_sequence": 4,
"i_is_replica": false,
"i_vstamp": 0,
"r_object_id": "5f00000580000103"
},
"audit-data-list": [
{
"attr-name": "owner_name",
"value-pairs": [
{
"old-value": "",
"new-value": "Administrator"
}
]
},
{
"attr-name": "a_content_type",
"value-pairs": [
{
"old-value": "",
"new-value": "crtext"
}
]
}
...
],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/audit-trails/
5f00000580000103"
},
{
"rel": "author",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/users/Administrator"
},
{
"rel": "http://identifiers.emc.com/linkrel/audited-object",
"title": "document",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/documents/
0900000580000ce9"
}
]
}
This operation is used to delete an audit trail. Only logged in users with PURGE
privileges in their extended user privileges can perform this operation.
N/A
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
N/A
N/A
N/A
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.9.2.2 Feed
Is this resource a feed? Yes.
2.9.2.4 Operations
2.9.2.4.1 Supported HTTP methods
Method Description
GET Retrieves all of the audit trails in a specified
repository.
This operation retrieves all of the audit trails from a specified repository.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/audit-trails",
"title": "Audit Trails",
"author": [
{
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.10.2 Feed
Is this resource a feed? Yes.
2.10.4 Operations
Method Description
GET GET all available audit events from a
specified path.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
</links>
</audit-event-list>
{
"json-root": "audit-event-list",
"event-list": [
"dm_assume",
"dm_authenticate",
"dm_connect",
"dm_disconnect",
"dm_destroy",
"dm_getlogin",
"dm_logon_failure",
"dm_save",
"dm_audit",
"dm_unaudit",
"dm_security_check_failed"
],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
available-audit-events/?object-id=1100000580000900"
},
{
"rel": "http://identifiers.emc.com/linkrel/registered-audit-events",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
registered-audit-events/?object-id=1100000580000900"
}
]
}
2.11 Batches
The Batches resource enables you to perform multiple operations using a single
HTTP request. For example, you can create 10 cabinets, modify 5 folders, and delete
30 documents using one request. All resources except the Batches resource itself
and the Content Media resource can be embedded in a batch request.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.11.2 Feed
No feed support.
2.11.4 Operations
Method Description
POST Create and execute a batch request.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• multipart/related
• Authorization
The Authorization header (user credential token) is applied to all operations
within the batch request. Embedded operations in the batch request cannot set
their own Authorization headers.
• Accept
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The request body contains properties of the batch request, which controls how the
REST server processes the request along with the properties of each operation that is
embedded in the request.
Operation properties
Each batch request must have one operation at least. The maximum number of
operations allowed to be embedded in one request is limited by the rest.batch.
operations.max.count parameter.
The URI can be either an absolute URI you get from a certain
response or a relative URI, which starts with a slash (/).
Yes *
{
"transactional" : true,
"sequential" : false,
"on-error" : "CONTINUE",
"return-request" : true,
"operations" : [ {
"id" : "id-001",
"description" : "create a document",
"request" : {
"method" : "POST",
"uri" : "/<base URI>/objects",
"headers" : [ {
"name" : "Content-Type",
"value" : "application/vnd.emc.documentum+json"
} ],
"entity" : "{\"properties\":{\"object_name\":\"my test object\"}}"
}
} ]
}
Operations embedded in a batch request may have binary contents attached, such as
content creation, and content checkin. Documentum REST Services leverages the
XML-binary Optimized Packaging (XPO) protocol to support multipart operations
in batches. As defined in XPO, a multipart batch request must have the Multipart/
Related Content-Type header.
</entity>
<attachment>
<xop:Include xmlns:xop='http://www.w3.org/2004/08/xop/
include'
href='cid:id-2-content'/>
</attachment>
</request>
</operation>
…
</operations>
</batch>
-- boundary
Content-Type: ...
Content-ID: id-1-content
Content-disposition: ...
Attachment 1
-- boundary
Content-Type: ...
Content-ID: id-2-content
Content-disposition: ...
Attachment 2
-- boundary
…
-- boundary --
The batch element is identical to its counterpart in standard batch requests with the
only addition of an extra attachment element in the request block of each
embedded operation. The attachment element contains a content ID (cid)
specifying the binary content to be attached which is defined in the subsequent
portions of the batch request. The sequence of the portions holding binary contents
must be identical to the sequence they are referenced in the batch element.
Content-Type: text/plain
Headers in an operation block describe the entity block next to it. Typically, the
header set includes a Content-Type header indicating the media type of the content
in the entity block and an Accept header indicating the expected media type of the
response. A header set in a binary content block also contains a Content-Type
header. This Content Type header indicates media type of the binary content.
The following excerpt illustrates a multipart request that contains both an entity
block and binary content:
…
<operation id="id-100">
<request method="POST"
uri="/repositories/REPO/folders/0c00208080000107/objects">
<header name="Content-Type" value="application/vnd.emc.documentum+xml"/
>
<header name="Accept" value="application/vnd.emc.documentum+xml"/>
<entity>
<object><properties><object_name>my-test-doc</object_name>
</properties></object>
</entity>
<attachment><xop:Include xmlns:xop='http://www.w3.org/2004/08/xop/
include'
href='cid:id-100-content'/></attachment>
</request>
</operation>
…
--frontier
Content-Type: text/plain
Content-ID: id-100-content
Content-disposition: form-data; name=id-100-content
In a scenario where a multipart request does not include an entity block (for
example, you upload binary content without updating any resource property),
headers in operation blocks are used to describe the binary content. In the binary
content block, all headers except Content-ID and Content-disposition are ignored.
As a result, you must specify the media type of the binary content in the Content-
Type header of the operation block.
In the following example, the media type of this individual request is text/plain
and the REST server returns the response in application/vnd.emc.documentum
+xml as specified in the operation block.
<operation id="id-100">
<request method="POST"
uri="/repositories/REPO/folders/0c00208080000107/objects">
<header name="Content-Type" value="text/plain"/>
<header name="Accept" value="application/vnd.emc.documentum+xml"/>
<attachment><xop:Include xmlns:xop='http://www.w3.org/2004/08/xop/
include'
href='cid:id-100-content'/></attachment>
</request>
</operation>
--frontier
Content-Type: text/html
Accept: text/application/vnd.emc.documentum+json
Content-ID: id-100-content
Content-disposition: form-data; name=id-100-content
In a Multipart/Related batch request, you are also allowed to embed requests that do
not contain attachments. In this scenario, the headers in the operation block describe
the entity block next to them and no binary content block pertains to the Request.
<operation id="id-100">
<request method="POST"
uri="/repositories/REPO/folders/0c00208080000107/objects">
<header name="Content-Type" value="application/vnd.emc.documentum+xml"/
>
<header name="Accept" value="application/vnd.emc.documentum+xml"/>
<entity>
<object><properties><object_name>my-test-doc</object_name>
</properties></object>
</entity>
</request>
</operation>
Request header:
{Multipart/Related;boundary=frontier;
type="application/xop+xml";
start="batch";
start-info="application/vnd.emc.documentum+xml"}
Payload:
--frontier
Content-Type: application/xop+xml; type="application/vnd.emc.documentum+xml"
Content-ID: batch
Content-disposition: form-data; name=batch
--frontier
Content-Type: text/plain
Content-ID: id-100-content
Content-disposition: form-data; name=id-100-content
This is the content of id-100
--frontier
Content-Type: text/plain
Content-ID: id-101-content
Content-disposition: form-data; name=id-101-content
This is the content of id-101
--frontier--
Request header:
{Multipart/Related;boundary=frontier;
type="application/jop+json";
start="batch";
start-info="application/vnd.emc.documentum+json"}
Payload:
--frontier
Content-Type: application/jop+json; type="application/vnd.emc.documentum
+json"
Content-ID: batch
Content-disposition: form-data; name=batch
{
"return-request" : true,
"operations" :
[
{
"id" : "id-100",
"description" : "create object with content",
"request" :
{
"method" : "POST",
"uri" : "/repositories/REPO/folders/0c00208080000107/objects",
"headers" :
[
{
"name" : "Content-Type",
"value" : "application/vnd.emc.documentum+json"
},
{
"name" : "Accept",
"value" : "application/vnd.emc.documentum+json"
}
],
"entity" : "{\"properties\":{\"object_name\":\"my test object\"}}",
"attachment" : {
"Include" : {
"href" : "cid:id-100-content"
}
}
}
},
{
"id" : "id-101",
"description" : "create object with content",
"request" :
{
"method" : "POST",
"uri" : "/repositories/REPO/folders/0c00208080000107/objects",
"headers" :
[
{
"name" : "Content-Type",
"value" : "application/vnd.emc.documentum+json"
},
{
"name" : "Accept",
"value" : "application/vnd.emc.documentum+json"
}
],
"entity" : "{\"properties\":{\"object_name\":\"my test object\"}}",
"attachment" : {
"Include" : {
"href" : "cid:id-101-content"
}
}
}
}
]}
--frontier
Content-Type: text/plain
Content-ID: id-100-content
Content-disposition: form-data; name=id-100-content
i'm the content of id-100
--frontier
Content-Type: text/plain
Content-ID: id-101-content
Content-disposition: form-data; name=id-101-content
i'm the content of id-101
--frontier--
• Content-Type
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
2.11.4.2.8 Exceptions
In this release, batch requests are executed in synchronous mode. The response is
not returned until the REST server completes the request. The response of a batch
request contains the following:
– state: Indicates the state of the batch operation. In synchronous mode, the
value of this property is always Finished.
– sub-state: Indicates the sub-state of a finished batch operation. Valid values
are:
○ failed: The REST server completes the batch operation. However, all the
operations fail. Generally, this value is returned for transactional batch
requests.
dctm-rest/repositories/REPO/cabinets/0c0020808000dfc6"/></
entry></fee
d></entity>
</response>
</operation>
</operations>
</batch>
{
"transactional" : true,
"sequential" : false,
"on-error" : "CONTINUE",
"return-request" : true,
"state" : "FINISHED",
"submitted" : "2014-07-03T16:34:45.989+08:00",
"started" : "2014-07-03T16:34:45.989+08:00",
"finished" : "2014-07-03T16:34:46.107+08:00",
"owner" : "dmadmin",
"operations" : [ {
"id" : "id-100",
"description" : "get users",
"state" : "FINISHED",
"started" : "2014-07-03T16:34:45.989+08:00",
"finished" : "2014-07-03T16:34:46.020+08:00",
"request" : {
"name" : "request",
"method" : "GET",
"uri" : "/repositories/REPO/users?items-per-page=1",
"headers" : [ {
"name" : "Content-Type",
"value" : "application/vnd.emc.documentum+json"
}, {
"name" : "Accept",
"value" : "application/vnd.emc.documentum+json"
} ]
},
"response" : {
"name" : "response",
"status" : 200,
"headers" : [ {
"name" : "Content-Type",
"value" : "application/vnd.emc.documentum+json;charset=UTF-8"
} ],
"entity" : "{\"id\":\"http://localhost:8080/dctm-rest/repositories/REPO/
users
\",\"title\":\"Users\",\"author\":[{\"name\":\"OpenText Documentum\"}],
\"page\":1,\
"items-per-page\":1,\"links\":[{\"rel\":\"self\",\"href\":\"http://
localhost:8
080/dctm-rest/repositories/REPO/users?items-per-page=1\"},{\"rel\":\"next
\",\"h
ref\":\"http://localhost:8080/dctm-rest/repositories/REPO/users?items-
per-page=
1&page=2\"},{\"rel\":\"first\",\"href\":\"http://localhost:8080/dctm-
rest/reposi
tories/REPO/users?items-per-page=1&page=1\"}],\"entries\":[{\"id\":
\"http://loca
lhost:8080/dctm-rest/repositories/REPO/users/Administrator\",\"title\":
\"Adminis
trator\",\"updated\":\"2014-01-21T12:24:16.000+08:00\",\"summary\":\"\",
\"content
\":{\"content-type\":\"application/vnd.emc.documentum+json\",\"src
\":\"http://loc
alhost:8080/dctm-rest/repositories/REPO/users/Administrator\"},\"links\":
[{\"rel\
":\"edit\",\"href\":\"http://localhost:8080/dctm-rest/repositories/REPO/
users/Admi
nistrator\"}]}]}"
}
}, {
"id" : "id-101",
"description" : "get cabinets",
"state" : "FINISHED",
"started" : "2014-07-03T16:34:46.020+08:00",
"finished" : "2014-07-03T16:34:46.105+08:00",
"request" : {
"name" : "request",
"method" : "GET",
"uri" : "/repositories/REPO/cabinets?items-per-page=1",
"headers" : [ {
"name" : "Content-Type",
"value" : "application/vnd.emc.documentum+json"
}, {
"name" : "Accept",
"value" : "application/vnd.emc.documentum+json"
} ]
},
"response" : {
"name" : "response",
"status" : 200,
"headers" : [ {
"name" : "Content-Type",
"value" : "application/vnd.emc.documentum+json;charset=UTF-8"
} ],
"entity" : "{\"id\":\"http://localhost:8080/dctm-rest/repositories/REPO/
cabinets\"
,\"title\":\"Cabinets\",\"updated\":\"2014-07-03T16:34:46.103+08:00\",
\"author\":[
{\"name\":\"OpenText Documentum\"}],\"page\":1,\"items-per-page\":
1,\"links\":[{\"rel\"
:\"self\",\"href\":\"http://localhost:8080/dctm-rest/repositories/REPO/
cabinets?it
ems-per-page=1\"},{\"rel\":\"next\",\"href\":\"http://localhost:8080/
dctm-rest/rep
ositories/REPO/cabinets?items-per-page=1&page=2\"},{\"rel\":\"first\",
\"href\":\"h
ttp://localhost:8080/dctm-rest/repositories/REPO/cabinets?items-per-
page=1&page=1\"
}],\"entries\":[{\"id\":\"http://localhost:8080/dctm-rest/repositories/
REPO/objects
/0c0020808000dfc6\",\"title\":\"\\\" + cabinet + \\\"\",\"updated\":
\"2014-06-30T16
:13:52.000+08:00\",\"summary\":\"dm_cabinet 0c0020808000dfc6\",\"author
\":[{\"name\
":\"dmadmin\",\"uri\":\"http://localhost:8080/dctm-rest/repositories/
REPO/users/dma
dmin\"}],\"content\":{\"content-type\":\"application/vnd.emc.
documentum+json\",\"sr
c\":\"http://localhost:8080/dctm-rest/repositories/REPO/cabinets/
0c0020808000dfc6\"}
,\"links\":[{\"rel\":\"edit\",\"href\":\"http://localhost:8080/dctm-rest/
repositori
es/REPO/cabinets/0c0020808000dfc6\"}]}]}"
}
} ]
}
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.12.2 Feed
No feed support.
2.12.4 Operations
2.12.4.1 Supported HTTP methods
Method Description
GET Retrieve supported batch properties, the list
of batchable resources, and the list of non-
batchable resources.
GET
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation that describes the supported batch features and
provides the lists of batchable and non-batchable resources.
<batchable-resource>versions</batchable-resource>
</batchable-resources>
<non-batchable-resources>
<non-batchable-resource>batches</non-batchable-resource>
<non-batchable-resource>content-media</non-batchable-resource>
</non-batchable-resources>
<links>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
batch-capabilities.xml" rel="self"/>
</links>
</batch-capabilities>
"content-media" ],
"links" : [ {"rel" : "self",
"href" : "http://localhost:8080/dctm-rest/repositories/
REPO/batch-capabilities" } ]}
See Also: “Cabinets” on page 143 and About the Diagram on page 17.
2.13.1.2 Feed
No feed support.
2.13.1.4 Operations
2.13.1.4.1 Supported HTTP methods
Method Description
GET Retrieves properties, and other information of the Cabinet resource.
POST Updates the properties for the Cabinet resource.
DELETE Deletes the Cabinet resource from a repository.
GET properties, and other information of the Cabinet resource. Properties are
returned as embedded elements in the response message body. Other information,
such as relationships, is referenced from the link relations of the response message
body.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
Update the cabinet with given properties. If the client provides undefined properties
in the request body, the server throws an exception.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
XML or JSON representation of the Cabinet resource. Only properties that can be
updated should be put in the message body.
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
If the deletion fails, an exception is thrown and the Cabinet resource (including the
cabinet tree and version history) is reverted to the original state.
(boolean)
Note: Virtual
documents are not
supported.
N/A
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
2.13.2 Cabinets
The Cabinets resource represents a collection of cabinets in a repository.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.13.2.2 Feed
Is this resource a feed? Yes.
• Feed ID: URI of the Cabinets resource without the file extension
• Feed Title: List of cabinets
• Feed Updated: Server's current time
• Supports POST: Yes
• Entry: “Cabinet” on page 137
• Entry ID: URI of the cabinet
• Entry Title: Cabinet name
• Entry Summary: Cabinet description
• Entry Updated: r_modify_date of the cabinet
2.13.2.4 Operations
2.13.2.4.1 Supported HTTP methods
Method Description
GET Lists all available cabinets in the repository
for the current user
POST Create a new cabinet in the repository.
List all available cabinets in the repository for the current user.
• inline
• page
• items-per-page
• include-total
• view
• links
• filter
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json (For compatible viewing
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The r_object_type property for the cabinets must be dm_cabinet or its subtype,
otherwise, the Request is considered as a bad request and rejected. If this property is
not specified in a client request, it is set to dm_cabinet by default.
• Location
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.14.2 Feed
Is this resource a feed? Yes.
2.14.4 Operations
2.14.4.1 Supported HTTP methods
Method Description
GET Retrieves a collection of checked out objects.
Only checked
out objects
with the
specified lock
owner are
returned in
the result.
user-name Specifies the string N/A null
user name of
the lock
owner.
Only works
when the
checked-
out-by
parameter is
set to
specific-
user
Parameter q
must be
encoded
because it
may contain
non-English
locale
characters.
Note:
Internat
ional
charact
ers that
are
used in
this
query
parame
ter
must be
sent
with
URL
encode
d by
the
UTF-8
charset.
Otherw
ise, the
result
may be
incorre
ct.
• inline
• page
• items-per-page
• include-total
• links
• filter
• view
The q parameter is supported for full text searching with a subset of the Simple
Search Language, however the parenthesis is not supported.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• Each object may contain all or a set of properties of the objects, depending on the
setting of the query parameter view.
• The returned child objects collection only contains those that you have access to.
• Pagination is supported.
• By default, the results are listed in alphabetical order by object name.
2.15.1.2 Feed
No feed support.
2.15.1.3 Operations
2.15.1.3.1 Supported HTTP methods
Method Description
GET Retrieves the comment
DELETE Deletes the comment
Retrieves a comment.
GET
• links
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
<comment xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<object-id>0800000180143727</object-id>
<comment-id>1324839</comment-id>
<owner-name>John Doe</owner-name>
<creation-date>2016-01-26T15:16:16.000+00:00</creation-date>
<modified-date>2016-01-26T15:16:16.000+00:00</modified-date>
<content-value>The spec looks good.&nbsp;
Just two comments<br><ol><li>Please add a diagram
to show the
flow.lt;/li><li>Please clarify the filter
criteria.<br></li>
</ol>
</content-value>
<parent-id>0</parent-id>
<title/>
<can-delete>true</can-delete>
<can-reply>true</can-reply>
<links>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/
REPO/
objects/0900000180143717/comments/1324839"/>
<link rel="parent" href="http://localhost:8080/dctm-rest/repositories/
REPO/
objects/0900000180143717/comments"/>
<link rel="http://identifiers.emc.com/linkrel/replies"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324839/replies"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324839"/>
</links>
</comment>
This method allows the user who created the comment to delete the comment. The
delete link for a comment is available only when a user can delete that comment.
DELETE
N/A
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
N/A
2.15.2 Comments
This resource allows you to work with a comment objects collection.
2.15.2.1 Feed
Is this resource a feed? Yes.
2.15.2.3 Operations
2.15.2.3.1 Supported HTTP methods
Method Description
GET Retrieves a list of root-level comments
POST Create a root-level comment
GET
• inline
• page
• items-per-page
• include-total
• filter
• links
• sort
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<feed xmlns="http://www.w3.org/2005/Atom">
<id>http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments</id>
<title>Comments on object: 0900000180143717 under parent comment id: 0
</title>
<author>
<name>OpenText Documentum</name>
</author>
<updated>2016-02-01T21:50:18.768+00:00</updated>
<dm:page xmlns:dm="http://identifiers.emc.com/vocab/documentum">1</dm:page>
<dm:items-per-page xmlns:dm="http://identifiers.emc.com/vocab/
documentum">100
</dm:items-per-page>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/REPO/
objects/
09000001800d86ec/comments"/>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324839</id>
<title></title>
<author>
<name>John Doe</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/John
%2BDoe
</uri>
</author>
<summary><font color= '#363636' ><font size= '2' >
<font face= 'Arial' >The spec looks good.& Just two
comments<br>
</font></font></font><ol><li>
<font color= '#363636' ><font size= '2' >
<font face= 'Arial' >Please add a diagram to show the
flow.</font>
</font></font></li><li><font color=
'#363636' >
<font size= '2' ><font face= 'Arial' >Please clarify
the filter
criteria.<br></font></font></font></
li>
</ol></summary>
<updated>2016-01-26T15:16:16.000+00:00</updated>
<published>2016-01-26T15:16:16.000+00:00</published>
<link rel="edit" href="http://localhost:8080/dctm-rest/repositories/
REPO/
objects/0900000180143717/comments/1324839"/>
<content type="application/xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324839"/>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324841</id>
<title></title>
<author>
<name>Jane Doe</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/
Jane%2BDoe</uri>
</author>
<summary><font face= 'Arial' ><font size= '2' >
<font color= '#363636' >Should we also support paging?
<br>
</font></font></font></summary>
<updated>2016-01-26T15:19:57.000+00:00</updated>
<published>2016-01-26T15:19:57.000+00:00</published>
<link rel="edit" href="http://localhost:8080/dctm-rest/repositories/
REPO/
objects/0900000180143717/comments/1324841"/>
<content type="application/xml" src="http://localhost:8080/dctm-
rest/
repositories/REPO/objects/0900000180143717/comments/1324841"/>
</entry>
</feed>
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments",
"title": "Comments on object: 0900000180143717 under parent comment id: 0",
"author":[
{
"name": "OpenText Documentum"
}
],
"updated": "2016-02-01T22:07:00.401+00:00",
"page": 1,
"items-per-page": 100,
"links":[
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments"
}
],
"entries":[
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324839",
"title": "",
"author":[
{
"name": "John Doe",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/users/John
%2BDoe"
}
],
"summary": "<font color= '#363636' ><font size= '2'
><font face= 'Arial' >
The spec looks good. Just two comments<br></font></
font></font>
<ol><li><font color= '#363636' ><font
size= '2' >
<font face= 'Arial' >Please add a diagram to show the
flow.</font>
</font></font></li><li><font color=
'#363636' >
<font size= '2' >
<font face= 'Arial' >Please clarify the filter
criteria.<br>
</font></font></font></li></ol>",
"updated": "2016-01-26T15:16:16.000+00:00",
"published": "2016-01-26T15:16:16.000+00:00",
"links":[
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324839"
}
],
"content":{
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324839"
}
},
{
"id": "http://localhost:8080?/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324841",
"title": "",
"author":[
{
"name": "Jane Doe",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/users/Jane
%2BDoe"
}
],
"summary": "<font face= 'Arial' ><font size= '2' >
<font color= '#363636' >Should we also support paging?
<br></font>
</font></font>",
"updated": "2016-01-26T15:19:57.000+00:00",
"published": "2016-01-26T15:19:57.000+00:00",
"links":[
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324841"
}
],
"content":{
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324841"
}
}
]
}
You can use this method to add a root-level comment. You must have <RELATE>
permission on the object to add a comment. The content value of a comment can be
either plain text or rich text. All content is sanitized before it is saved to the
repository.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The content-value tag contains the rich text content of the comment. It's required for
comment creation.
N/A
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<comment xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<content-value>
The spec looks good. Just two comments:<br>
<ol>
<li>Please add a diagram to show the flow.</li>
<li>Please clarify the filter criteria.<br></li>
</ol>
</content-value>
</comment>
2.16.1 Feed
Is this resource a feed? Yes.
2.16.3 Operations
2.16.3.1 Supported HTTP methods
Method Description
GET Retrieves a list of replies for a comment
POST Create a reply for a comment
GET
• inline
• page
• items-per-page
• include-total
• filter
• links
• sort
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<id>http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324839/replies</id>
<title>Comments on object: 0900000180143717 under parent comment id:
1324839</title>
<author>
<name>OpenText Documentum</name>
</author>
<updated>2016-02-12T19:47:24.307+00:00</updated>
<dm:page xmlns:dm="http://identifiers.emc.com/vocab/documentum">1</dm:page>
<dm:items-per-page xmlns:dm="http://identifiers.emc.com/vocab/
documentum">100
</dm:items-per-page>
<linkrel="self" href="http://localhost:8080/dctm-rest/repositories/REPO/
objects/
0900000180143717/comments/1324839/replies"/>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324840</id>
<title/>
<author>
<name>John Doe</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/John
%2BDoe</uri>
</author>
<summary>
&li;font face= 'Arial' >
&li;font size= '2' >
&li;font color= '#363636' >Thanks for reviewing it.& I'll update the
spec.
&li;br>
&li;/font>&li;/font>&li;/font>
</summary>
<updated>2016-01-26T15:19:21.000+00:00</updated>
<published>2016-01-26T15:19:21.000+00:00</published>
<linkrel="edit" href="http://localhost:8080/dctm-rest/repositories/
REPO/objects/
0900000180143717/comments/1324840"/>
<contenttype="application/xml" src="http://localhost:8080/dctm-rest/
repositories/
REPO/objects/0900000180143717/comments/1324840"/>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324842</id>
<title/>
<author>
<name>Jane Doe</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/Jane
%2BDoe</uri>
</author>
<summary>Do we need to expose this feature through REST api?
&li;br></summary>
<updated>2016-01-26T15:27:50.000+00:00</updated>
<published>2016-01-26T15:27:50.000+00:00</published>
<linkrel="edit" href="http://localhost:8080/dctm-rest/repositories/
REPO/objects/
0900000180143717/comments/1324842"/>
<contenttype="application/xml" src="http://localhost:8080/dctm-rest/
repositories/
REPO/objects/0900000180143717/comments/1324842"/>
</entry>
</feed>
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324839/replies",
"title": "Comments on object: 0900000180143717 under parent comment id:
1324839",
"author":[
{
"name": "OpenText Documentum"
}
],
"updated": "2016-02-12T19:29:04.092+00:00",
"page": 1,
"items-per-page": 100,
"links":[
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324839/replies"
}
],
"entries":[
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324840",
"title": "",
"author":[
{
"name": "John Doe",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/
users/John%2BDoe"
}
],
"summary": "<font face= 'Arial' ><font size= '2' >
<font color= '#363636' >
Thanks for reviewing it. I'll update the spec.<br>
</font></font></font>",
"updated": "2016-01-26T15:19:21.000+00:00",
"published": "2016-01-26T15:19:21.000+00:00",
"links":[
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
objects/
0900000180143717/comments/1324840"
}
],
"content":{
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
objects/
0900000180143717/comments/1324840"
}
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/comments/1324842",
"title": "",
"author":[
{
"name": "Jane Doe",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/
users/Jane%2BDoe"
}
],
"summary": "Do we need to expose this feature through REST api?
<br>",
"updated": "2016-01-26T15:27:50.000+00:00",
"published": "2016-01-26T15:27:50.000+00:00",
"links":[
{"rel": "edit", "href": "http://localhost:8080/dctm-rest/
repositories/
REPO/objects/0900000180143717/comments/1324842"…}
],
"content":{
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
objects/
0900000180143717/comments/1324842"
}
}
]
}
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The content-value tag contains the encoded text content of the reply. It's required for
comment creation.
• Location
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<comment xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<object-id>0800000180143727</object-id>
<comment-id>1324839</comment-id>
<owner-name>John Doe</owner-name>
<creation-date>2016-01-26T15:16:16.000+00:00</creation-date>
<modified-date>2016-01-26T15:16:16.000+00:00</modified-date>
<content-value>Agree with John.<br><ol><li>Please add a
diagram
to show the flow.</li><li>Please clarify the filter
criteria.<br>
</li></ol>
</content-value>
<parent-id>1324830</parent-id>
<title/>
<can-delete>true</can-delete>
<can-reply>true</can-reply>
<links>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/
REPO/
objects/0900000180143717/comments/1324839"/>
<link rel="parent" href="http://localhost:8080/dctm-rest/repositories/
REPO/
objects/0900000180143717/comments"/>
<link rel="http://identifiers.emc.com/linkrel/replies"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324839/replies"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324839"/>
</links>
</comment>
{
"object-id": "0800000180143727",
"comment-id": "1324839",
"owner-name": "John Doe",
"creation-date": "2016-01-26T15:16:16.000+00:00",
"modified-date": "2016-01-26T15:16:16.000+00:00",
"content-value": "Agree with John.<br><ol><li>Please add a
diagram to
show the flow.</li><li>Please clarify the filter criteria.
<br></li></ol>",
"parent-id": "1324830",
"title": "",
"can-delete": true,
"can-reply": true,
"links":[
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324839"
},
{
"rel": "parent",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments"
},
{
"rel": "http://identifiers.emc.com/linkrel/replies",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324839/replies"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000180143717/
comments/1324839"
}
]
}
See Also: “Contents” on page 180 and About the Diagram on page 17.
2.17.1.2 Feed
No feed support.
2.17.1.4 Operations
2.17.1.4.1 Supported HTTP methods
Method Description
GET Retrieves the metadata of the primary
content or of the rendition content for an
existing document object, optionally with
content media links for content download.
DELETE Deletes primary content and/or rendition
content for a document object.
Retrieve the metadata of the primary content or of the rendition content for an
existing document object, optionally with content media links for content download.
By using the media-url-policy parameter, you can customize content URL return
policy in this operation to control what URL to put in the content-media and
enclosure link relations. Valid values for this parameter are:
Value Description
DC-PREF* When you set media-url-policy to DC-PREF, this operation tries
to retrieve a distributed content URL first. If no distributed content
URL is available, a Content Media resource URL from the REST server
is still acceptable. Details are as follows:
• If the BOCS server is available, and the network location is
specified correctly, the BOCS content URL corresponding to the
network location is returned.
• If the BOCS server is available, but the specified network location
is not correct, or there is no BOCS configured for this network
location, or the BOCS server is unavailable, the ACS content URL
is returned if any ACS server is available.
• If there are multiple ACS URLs available, the REST server chooses
the one with most proximity.
• If no ACS or BOCS server is available, a Content Media resource
URL is returned from the REST server.
DC-ONLY When you set media-url-policy to DC-ONLY, the REST server
returns a distributed content URL (either from the ACS server or the
BOCS server with the same logic as the DC-PREF option does. If there
is no ACS server or BOCS server, the REST server returns the HTTP
400 Conflict error.
LOCAL When you set media-url-policy to LOCAL, the REST server
returns a Content Media resource URL from the REST server
regardless of the availability of the ACS server and the BOCS server.
ALL When you set media-url-policy to ALL, all available Content
Media links are returned, each one pointing to a different content
media server. It includes all available ACS URLs, all available BOCS
URLs, and the local Content Media resource URL.
* Default
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
N/A
• Content-Type
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON message that represents the content metadata and a URL for content
download.
Delete primary content and/or rendition content for a document object. By default,
when a primary content is deleted, the renditions on the same page are deleted at
the same time. Renditions created by Documentum REST Services are always
deleted if the corresponding primary content is deleted. However, under some
circumstances, renditions created using other approaches can remain when the
primary content is deleted.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
2.17.2 Contents
The Contents resource represents a collection of primary content objects and
renditions of an object. Each content entry contains content properties and a link to
the content binary stream.
See Also: “SysObject” on page 690 and About the Diagram on page 17.
2.17.2.2 Feed
Is this resource a feed? Yes.
2.17.2.4 Operations
2.17.2.4.1 Supported HTTP methods
Method Description
GET GET a collection of content resources.
POST Create a new primary content or rendition on
a document.
GET a collection of all primary content, rendition content metadata, and URLs to the
content binary stream for a document object, depending on the query parameter
settings.
• inline
• page
• items-per-page
• include-total
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
N/A
• Content-Type
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json (For compatible viewing
XML or JSON message that represents the content, and a link to the content binary
stream.
This
parameter
tells the
server how to
parse the
content for
sanitizing.
When the
content-
charset is
not provided,
the server
tries to get
metadata
information
from the
content itself
when it's in
HTML
format.
When the
metadata has
a valid
charset, then
it is used to
sanitize the
content. The
configuration
default
charset is
used when
the
content-
charset
parameter
and the
metadata
information
are not
found.
Note:
When
the
charset
and the
content
Notes
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• Location
• Content-Type
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
See Also: “Content” on page 174 and About the Diagram on page 17.
2.18.2 Feed
No feed support.
2.18.4 Operations
2.18.4.1 Supported HTTP methods
Method Description
GET Retrieves a content media from the REST
server.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Authorization
• If-None-Match (If the REST client uses the ETag mechanism to enable client side
web cache, the value of this header must be identical to the ETag value from the
previous server response header.)
Note: When the client provides the If-None-Match header, the REST server
compares the value of the header with the ETag of the current version of the
resource. If these two values match, meaning that the resource has not been
changed, the REST server sends back a short response with the HTTP 304 Not
Modified status, which notifies the client to use the cached version.
N/A
• Content-Type
• Content-Length
• ETag
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.19.2 Feed
No feed support.
2.19.4 Operations
2.19.4.1 Supported HTTP methods
Method Description
GET Retrieves the metadata of the user that is
currently logged in to the repository.
GET
• view
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
The syntax and semantics of the user preference is determined by the client
application that uses REST services to store preference data. Documentum REST
Services introduces a preference resource model to store user preference content as
plain text content. In addition to the user preference content, there are several
properties to describe the preference metadata. User preference content characters
must be escaped by the REST client.
See Also: “Current User Preferences” on page 201 and About the Diagram
on page 17.
2.20.1.2 Feed
No feed support.
2.20.1.4 Operations
Method Description
GET GET metadata, content, and other
information from the preference instance
POST Updates the attributes of the preference
instance
DELETE Deletes the preference instance
Gets the attributes, content, and other information of the current user preference
instance.
GET
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<preference xmlns="http://identifiers.emc.com/vocab/documentum">
<client>kw</client>
<owner-name>dmadmin</owner-name>
<title>user preference for knowledge worker</title>
<subject>user preference</subject>
<keywords>
<item>knowledge worker</item>
<item>cn</item>
</keywords>
<creation-date>2015-11-10T05:40:40.000+00:00</creation-date>
<r_modify_date>2015-11-10T05:49:52.000+00:00</r_modify_date>
<preference-content>
<user-locale>
cn
</user-locale>
<timezone>
gmt+8
</timezone>
</preference-content>
<links>
<link rel="self" href="/repositories/REPO/currentuser-preferences/kw"/>
<link rel="edit" href="/repositories/REPO/currentuser-preferences/kw"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="/repositories/REPO/currentuser-preferences/kw"/>
</links>
</preference>
{
"name": "preference",
"client": "kw",
"owner-name": "dmadmin",
"title": "user preference for knowledge worker",
"subject": "user preference",
Update the attributes for the preference instance. When the client provides
undefined attributes in the request body, the server throws an exception.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
XML or JSON representation of preference settings of the current user. You can
update the following properties:
• title
• subject
• keywords
• preference-content
The title, subject, and keywords properties have the same property definitions as
those in the dm_SysObject type. There is no size limit on preference-content.
However, the actual size affects the REST request and response payload.
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
DELETE
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
See Also: “Current User” on page 191 and About the Diagram on page 17.
2.20.2.2 Feed
Is this resource a feed? Yes.
2.20.2.4 Operations
2.20.2.4.1 Supported HTTP methods
Method Description
GET Gets the current user's preference collection.
POST Creates a user preference for the current
user.
GET
• sort
• view
• inline
• page
• items-per-page
• include-total
• links
• filter
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<preference xmlns="http://identifiers.emc.com/vocab/documentum">
<client>kw</client>
<owner-name>dmadmin</owner-name>
<title>user preference for knowledge worker</title>
<subject>user preference</subject>
<keywords>
<item>knowledge worker</item>
<item>cn</item>
</keywords>
<creation-date>2015-11-10T05:40:40.000+00:00</creation-date>
<r_modify_date>2015-11-10T05:49:52.000+00:00</r_modify_date>
<preference-content>
<user-locale>cn</user-locale>
<timezone>gmt+8</timezone>
</preference-content>
<links>
<link rel="self" href="/repositories/REPO/currentuser-preferences/kw"/>
<link rel="edit" href="/repositories/REPO/currentuser-preferences/kw"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="/repositories/REPO/currentuser-preferences/kw"/>
</links>
</preference>
{
"client": "kw",
"owner-name": "dmadmin",
"title": "user preference for knowledge worker",
See Also: “SysObject” on page 690 and About the Diagram on page 17.
2.21.2 Feed
No feed support.
2.21.4 Operations
2.21.4.1 Supported HTTP methods
Method Description
GET Retrieves the current version of an object.
GET
• view
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
N/A
• Content-Type
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.22.2 Feed
Is this resource a feed? Yes.
2.22.4 Operations
2.22.4.1 Supported HTTP methods
Method Description
GET Retrieves the Facets information that has
been configured in xPlore.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• application/hal+json
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO1/supported-facets",
"title": "Supported Facets",
"author": [
{
"name": "Open Text Documentum"
}
],
"updated": "2018-11-19T06:21:19.435+00:00",
"page": 1,
"items-per-page": 100,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/
supported-facets"
}
],
"entries": [
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO1/
supported-facets",
"title": "a_content_type",
"type": "string",
"summary": "Attribute a_content_type of Type string supports
Faceting",
"updated": "2018-11-19T06:21:19.453+00:00",
"published": "2018-11-19T06:21:19.453+00:00",
"links": [
{
"rel": "search",
"hreftemplate": "http://localhost:8080/dctm-rest/repositories/
REPO1/search?facet=a_content_type&
object-type=string{&collections,include-total,
inline,items-per-page,locations,page,q,sort,
timezone,view}"
}
]
}
facet=a_content_type&
object-type=string{&collections,
include-total,inline,items-per-page,
locations,page,q,sort,timezone,view}"
}
}
},
...
]
},
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/
supported-facets"
}
}
}
GET /dctm-rest/repositories/REPO1/supported-facets?page=2&items-per-page=2
&include-total=true HTTP/1.1
Host: localhost:8080
Authorization: Basic QWRtaW5pc3RyYXRvcjpQYXNzd29yZEAxMjM=
Accept:application/vnd.emc.documentum+json
Status 200 OK
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO1/supported-facets",
"title": "Supported Facets",
"author": [
{
"name": "Open Text Documentum"
}
],
"updated": "2018-11-20T08:16:03.039+00:00",
"page": 2,
"items-per-page": 2,
"total": 10,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/
supported-facets?page=2&items-per-page=2&include-total=true"
},
{
"rel": "previous",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/
supported-facets?page=1&items-per-page=2&include-total=true"
},
{
"rel": "next",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/
supported-facets?page=3&items-per-page=2&include-total=true"
},
{
"rel": "first",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/
supported-facets?page=1&items-per-page=2&include-total=true"
},
{
"rel": "last",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/
supported-facets?page=5&items-per-page=2&include-total=true"
}
],
"entries": [
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO1/
supported-facets?page=2&items-per-page=2&include-total=true",
"title": "keywords",
"type": "string"
"summary": "Attribute keywords of Type string supports Faceting",
"updated": "2018-11-20T08:16:03.040+00:00",
"published": "2018-11-20T08:16:03.040+00:00",
"links": [
{
"rel": "search",
"hreftemplate": "http://localhost:8080/dctm-rest/repositories/
REPO1/search?facet=keywords&
object-type=string{&collections,include-total,
inline,items-per-page,locations,page,q,sort,
timezone,view}"
}
]
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO1/
supported-facets?page=2&items-per-page=2&include-total=true",
"title": "r_modify_date",
"type": "datetime",
"summary": "Attribute r_modify_date of Type datetime supports
Faceting",
"updated": "2018-11-20T08:16:03.041+00:00",
"published": "2018-11-20T08:16:03.041+00:00",
"links": [
{
"rel": "search",
"hreftemplate": "http://localhost:8080/dctm-rest/repositories/
REPO1/search?facet=r_modify_date&
object-type=datetime{&collections,
include-total,inline,items-per-page,locations,
page,q,sort,timezone,view}"
}
]
}
]
}
2.23 Document
The Document resource represents a document in a repository.
See Also: “Folder Child Documents” on page 243 and About the Diagram
on page 17.
2.23.2 Feed
No feed support.
2.23.4 Operations
2.23.4.1 Supported HTTP methods
Method Description
GET Retrieves properties, and other information of the document
resource.
POST Updates the properties for the document resource.
DELETE Deletes the document resource from a repository.
N/A
• Accept
• Authorization
N/A
• Content-Type
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
{
"name": "document",
"type": "dm_document",
"definition": "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_document",
"doc-type-label": "SIMPLE_DOCUMENT",
"properties":
{
"attr1": "value1",
"repeating_attr2": [value2, value3],
...
},
"links":
[
{
"rel": "self",
"href": "..."
},
...
]
}
PUT
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
{
"name": "document",
"type": "dm_document",
"definition": "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_document",
"doc-type-label": "VIRTUAL_DOCUMENT",
"properties":
{
"attr1": "value1",
"repeating_attr2": [value2, value3],
...
},
"links":
[
{
"rel": "self",
"href": "..."
},
...
]
}
When the deletion fails, an exception is thrown and the Document resource is
reverted to the original state.
N/A
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
HTTP 204 No Content Success status upon a successful delete operation. The
response body contains no content.
2.23.4.5 Example
Example 2-85: Delete a document
Request
DELETE http://localhost:8080/dctm-rest/repositories/REPO/documents/
0900000f80000cd8
Accept:application/vnd.emc.documentum+json
Authorization:Basic ZG1hZG1pbjpwYXNzd29yZA==
Response
Status Code: 204 No Content Success
2.24 DQL
The DQL resource represents a read-only DQL query.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.24.2 Feed
Is this resource a feed? Yes.
2.24.4 Operations
2.24.4.1 Supported HTTP methods
Method Description
GET Performs a read-only DQL query with the
dql query parameter.
POST Performs a read-only DQL query with the
dql query parameter or with the Request
body encoded in application/x-www-
form-urlencoded.
Using the GET operation to perform a query can result in a response with better
cache performance. However, the web browser or client library may fail to handle
the Request properly when the DQL query is very long (for example, over 2,000
characters) since the DQL statement is provided using the HTTP query parameter
dql. To perform a query with a long DQL statement, use the POST operation.
When this
parameter is
set to false,
the REST
server
generates link
relations and/
or including
thumbnail
links if
possible.
Note: International characters that are used in query parameters must be sent
with URL encoded by the UTF-8 charset. Otherwise, the result may be
incorrect.
• page
• items-per-page
Note: This operation does not support the include-total query parameter.
To obtain the total size of the result set, send another query by using the
aggregation function COUNT() with the same conditions.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information about HTTP headers, see Appendix D, REST Common
Definition - HTTP Headers on page 987.
N/A
• Content-Type
For more information about HTTP headers, see Appendix D, REST Common
Definition - HTTP Headers on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
...
<entry>
<id>http://localhost:8080/dctm-rest/repositories/acme01?dql=...</id>
<title>090004d2800001d0</title>
<updated>2013-06-18T20:17:39.331+08:00</updated>
<content>
<dm:query-result>
<dm:properties>
<dm:r_object_id>090004d2800001d0</dm:r_object_id>
<dm:object_name>Default Signature Page Template</dm:object_name>
</dm:properties>
</dm:query-result>
</content>
</entry>
...
• The returned query result set only contains the resources that you have access to.
• Pagination is supported.
Note: The query result may contain link relations or thumbnail links. For more
information, see Generating Link relations in DQL Results in the OpenText
Documentum REST Services Development Guide.
To perform a query with long DQL statement, use the POST operation with a
request body in application/x-www-form-urlencoded.
When this
parameter is
set to false,
the REST
server
generates link
relations and/
or including
thumbnail
links if
possible.
• page
• items-per-page
Note: This operation does not support the include-total query parameter.
To obtain the total size of the result set, send another query using the
aggregation COUNT() function with the same conditions.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• application/x-www-form-urlencoded
• Accept
• Authorization
For more information about HTTP headers, see Appendix D, REST Common
Definition - HTTP Headers on page 987.
Note: An error may occur if you specify the same query statement in both the
request body and the dql parameter.
Accept: application/vnd.emc.documentum+json
Content-Type: application/www-form-urlencoded
POST http://localhost:8080/dctm-rest/repositories/acme01
dql=select%20r_object_id,object_name%20from%20dm_document&items-per-
page=100&page=1
• Content-Type
For more information about HTTP headers, see Appendix D, REST Common
Definition - HTTP Headers on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
...
<entry>
<id>http://localhost:8080/dctm-rest/repositories/acme01?dql=...</id>
<title>090004d2800001d0</title>
<updated>2013-06-18T20:17:39.331+08:00</updated>
<content>
<dm:query-result>
<dm:properties>
<dm:r_object_id>090004d2800001d0</dm:r_object_id>
<dm:object_name>Default Signature Page Template</dm:object_name>
</dm:properties>
</dm:query-result>
</content>
</entry>
...
{
"id": "http://localhost:8080/dctm-rest/repositories/acme01?dql=...",
"title": "090004d2800001d0",
"updated": "2013-06-18T20:22:41.425+08:00",
"content": {
"name": "query-result",
"properties": {
"r_object_id": "090004d2800001d0",
"object_name": "Default Signature Page Template"
}
}
},
• The returned query result set only contains the resources that you have access to.
• Pagination is supported.
Note: The query result may contain link relations or thumbnail links. For more
information, see Generating Link relations in DQL Results in the OpenText
Documentum REST Services Development Guide.
2.25 Folder
The Folder resource represents a folder in a repository.
See Also: “Folder Child Folders” on page 271 and About the Diagram on page 17.
2.25.2 Feed
No feed support.
2.25.4 Operations
2.25.4.1 Supported HTTP methods
Method Description
GET Retrieves properties, and other information
of the Folder resource.
POST Updates the properties for the Folder
resource.
DELETE Deletes the Folder resource from a
repository.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
XML or JSON representation of the Folder resource. Only updatable properties can
be put in the message body.
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the folder. The successful response contains all
properties of the updated folder.
If the deletion fails, an exception is thrown and the Folder resource (including the
folder tree and version history) is reverted to the original state.
Note:
Virtual
docum
ents are
not
support
ed.
N/A
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
HTTP 204 No Content status upon a successful delete operation. The Response body
contains no content.
See Also: “Folder” on page 236 and About the Diagram on page 17.
2.26.2 Feed
Is this resource a feed? Yes.
2.26.4 Operations
2.26.4.1 Supported HTTP methods
Method Description
GET Retrieves a list of all documents under the
specified folder
POST Creates a new document under the specified
folder
Note: To maintain security, the REST server will only retrieve documents that
the logged in user has permissions to access.
Note:
Enablin
g
hide-
share
d-
paren
t may
decreas
e
perfor
mance.
object- Specifies the string Any sub type null
type name of a name of dm_
subtype of document
dm_
document
and returns
only
documents of
that subtype.
• inline
• sort
Note: The default sort order is by creation date, descending from most
recent to oldest.
• page
• items-per-page
• include-total
• view
• links
• q: Provides support for full text searching using a subset of the Simple Search
Language, however the parenthesis is not supported.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the collection of child objects under the specified
folder.
• The body must contain a list of document resources, each of which is filed under
the specified folder.
• Each object may contain all properties of the object, depending on the setting of
the view query parameter.
• Each object may contain links that are specific to the Document type that is filed
in the specified folder.
See “Link relations” on page 691 in the SysObject resource, which provides
information on what links are available for various object types.
• The retrieved child documents collection only contains those objects that the user
has permissions to access.
The following code samples show you typical requests along with responses.
GET http://localhost/rest/repositories/repo/folders/0c00000c80000105/documents
Accept: application/vnd.emc.documentum+xml
For other storage mediums, such as hard disk, the content-length parameter is not
required and is optional. However, even when not required, if this parameter is
specified, it must be accurate.
When storing
content to
Centera
storage, the
content-
length
parameter
must be
provided.
When
providing the
value for
content-
length, you
must provide
an accurate
byte count of
the content to
be uploaded.
For other
storage
mediums,
such as
harddisk, the
content-
length
parameter is
optional.
However,
even when
not required,
if this
parameter is
provided, it
must be
accurate.
This
parameter
tells the
server how to
parse the
content for
sanitizing.
When the
content-
charset is
not provided,
the server
tries to get
metadata
information
from the
content itself,
as long as the
content is in
HTML
format.
When the
metadata has
a valid
charset, then
it is used to
sanitize the
content. The
configuration
default
charset is
used when
the
content-
charset
parameter
and the
metadata
information
are not found
Note:
When
the
charset
and the
content
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
When you create a document object in this manner you can also set its properties in
addition to the object-aspects and object-lifecycle. You can set the properties
by using the aspect_name.property_name parameter. When specifying the aspect
in the properties attribute, the aspects to be attached in the object-aspects
attribute will be ignored.
Caution
You cannot set Aspect properties using the properties attribute when
you specify that a document will be created with a Lifecycleas part of the
procedure. This limitation occurs because this procedure does not support
the use of a transaction when adding a Lifecycle to the object and also
because when a Lifecycle is being attached, the REST server creates the
document with its Aspects first, then it attaches the Lifecycle to the
document. This means that the document object will have its Aspects
attached to it before the aspect properties can be set using the properties
attribute. When you intend to attach a Lifecycle to your document object,
use the aspect_name.property_name parameter to set your Aspect
properties.
<object-lifecycle>
<lifecycle-id>xxx</lifecycle-id>
<current-state>xxx</current-state>
<aliasset-name>xxx</aliasset-name>
</object-lifecycle>
<object-aspects>
<aspect>xxx</aspect>
</object-aspects>
</document>
"object-lifecycle" : {
"lifecycle-id" : "xxx",
"current-state" : "xxx",
"aliasset-name" : "xxx"
},
"object-aspects" : {
"aspects":[
"xxx_aspect"
]
}
}
• Location
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
XML or JSON representation of the document created under the specified folder.
POST http://localhost/rest-api-web/repositories/repo/folders/0c00000c80000105/
documents
Content-Type: application/vnd.emc.documentum+xml
<document>
<properties>
<object_name>obj_without_content</object_name>
<r_object_type>dm_document</r_object_type>
...
</properties>
</document>
<document>
<properties>
<object_name>testDocument</object_name>
<r_object_type>dm_document</r_object_type>
<keywords>"rest", "documentum"</keywords>
...
</properties>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/documents/
0900000580006435"/>
...
</links>
</document>
POST http://localhost/rest-api-web/repositories/repo/folders/0c00000c80000105/
documents
Content-Type: application/vnd.emc.documentum+json
{
"attributes":{
"object_name":"testDocument",
"r_object_type":"dm_document",
"keywords":["rest", "documentum"]
...
}
}
{
"attributes":
{
"r_object_id": "0900000d10000983",
"object_name": "testDocument",
"r_creation_date": "2012-06-13T05:36:08.000+0800",
"r_modify_date": ck"2012-06-13T05:36:08.000+0800",
......
},
"links":
[
{
"rel": "self",
"href": "http://localhost:8080/rest/repositories/repo/documents/
0900000d10000983"
}
]
}
For more
information,
see format
below.
all- Specifies string true or true
primary whether to false
import all
contents
using the
same type as
the primary
content for
different
pages (page
0, 1, 2...), or
one primary
content, and
others as
renditions for
the first page,
which is page
0
For example,
when you
import with
the all-
primary
parameter set
to false, the
value of the
modifier can
be:
modifier=,
mod1,mod2,
mod3. That
means the
first (or
primary)
content has
no modifier,
and the
second
rendition's
modifier is
mod1, the
third is mod2
and so on.
Setting the
all-
primary
parameter to
true , or when
content-
count<=1
causes all
modifiers to
be ignored.
A comma
separated list
can be used
to define
multiple
values for
this
parameter.
For example:
content-
length=
1024,2048,
,4096. The
blank value
shown here is
0.
For more
information,
see content-
length below.
For more
information,
see content-
charset
below.
Note: Here are some additional details about the query parameters listed
above:
• format
– The format list must match the content sequence. When you don't want to
specify the format for a piece of content you can leave it blank in the
comma separated list but you must still include the comma as a
placeholder. For example: format=crtext,,html
– When the format for contents is not defined, the server uses the content
media type to select the format.
– When the all-primary parameter is true, all primary content types must
have the same format. In this case, when you define more than one format,
they must be the same. For example: format=crtext,crtext,crtext.
You can also define one format for all of the primary content: format=
crtext
• content-charset
– When the metadata has a valid charset, then it is used to sanitize the
content.
– When the content-charset is not provided and the content is in HTML
format, the server tries to get a value for the content-charset parameter
from the metadata information of the content itself.
– The configuration default charset is used when the content-charset
parameter and the metadata information are not found.
– When the charset and the content do not match, the uploaded content may
have an incorrectly encoded value.
• content-length
– When the all-primary parameter is set to false, the first value of in the
content-length parameter is used for the primary piece of content, the
other values in the comma separated string are ignored.
– When storing content to Centera storage, the content-length parameter
is mandatory and must be provided. For other storage mediums, such as
harddisk, the content-length parameter is optional.
– In all cases, including when the content-length parameter is not
required, if a value for it is set, the value must be an accurate byte count of
the contents to be uploaded.
• content-count
– When you import more than one piece of contents, the REST server must
know how many content pieces there are in total. The total number of
content pieces cannot be obtained until the end of the multipart stream.
Therefore, the REST client must specify this number in the value of the
content-count parameter.
– When the value set in the content-count parameter is greater than the
actual number of content pieces, an exception is thrown because the
system expects more content pieces than it has received.
– When the value set in the content-count parameter is less than the actual
number of content pieces, all content pieces that exist in addition to the
number of pieces declared in the content-count parameter are ignored.
Caution
Ensure that the value provided by the content-count parameter is
accurate.
• multipart/form-data
• multipart/mixed
• Accept
• Authorization
• Content-Type
Caution
The Content-Type header must be either multipart/form-data or
multipart/mixed, which notifies the REST server that this request is a
multipart request.
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The request body is a multipart message that must conform to RFC 2046. A
multipart/form-data or multipart/mixed message that contains a series of parts.
This series must conform to the following rules:
• The series must contain two parts, one metadata part and one contents parts.
• The first part in the series must contain the metadata for the document to be
created.
Content-Type for the first part must be one of the following values:
– application/vnd.emc.documentum+xml
– application/vnd.emc.documentum+json
If the client does not set the Content-Type value or if the client sets the Content-
Type to an invalid value, then the REST server uses application/vnd.emc.
documentum+json to overwrite the value.
• The second part, which is the content part, in the series must be the binary data
of the primary contents. Its Content-Type must be the MIME type for the
primary content.
• Each part in the series must contain a Content-Disposition header. The
disposition type of the header must be form-data. The disposition must contain
a parameter called name that specifies the name of this part. The name parameter
may be ignored by REST server. This behavior conforms to the W3 rules for
HTML multipart forms and is a decision that should be made from both the
server implementation and the client consumption perspective.
Note: Most libraries for various programming languages can handle the
multipart processing of an HTML form. However, the generic multipart
processing library is not prevalent. Therefore, we selected the HTML
multipart/form-data Content-Type to include a broader audience of
compatibility.
• This operation also supports the usage of Aspects and Lifecycles. For more
information, see Create a Document With Aspects and a Lifecycle.
--314159265358979
Content-Disposition: form-data; name=metadata
Content-Type: application/vnd.emc.documentum+xml
<object>
<properties>
<object_name>xyz</object_name>
</properties>
</object>
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979--
--314159265358979
Content-Disposition: form-data; name=metadata
Content-Type: application/vnd.emc.documentum+json
{
"properties":{
"object_name":"xyz"
}
}
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979--
while(parts.hasNext()) {
Part part = parts.next();
for(String header : part.getHeaderNames()) {
// Write the part header to the Response directly
out.write((header + "=" + part.getHeader(header) + "\r
\n" ).getBytes());
}
// Write the part content to the Response
IOUtils.copy(part.getInputStream(), out);
out.write("\r\n------------end------------\r\n".getBytes());
out.flush();
}
}
}
The sample reads the multipart input and writes it back to the response. Each
part of the multipart input has headers, and the content stream. Each part can
be individually read using one of the standard <hasNext> and <next> <Iterator>
methods.
All of the parts have to be read sequentially because they are all contained
within one multipart stream and the REST server does not cache it.
Note: When more than one content part exists, the REST server must know
how many content parts there are in total. However, the total number of
content parts cannot be determined until the end of the multipart stream.
Therefore, the REST client must provide the total number of content parts to
the REST server by setting a value for the content-count parameter. For more
information about this parameter, see content-count.
• Location
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
XML or JSON representation of the document created under the specified folder.
• The body may contain all of the attributes of an object, depending on the setting
of the attr_filter query parameter.
• The Document (or Document subtype) object may contain links that are specific
to the Document object type or Document subtype object type.
• The response body must contain a link with the enclosure relation, which is the
URI used to identify the primary content. A length attribute can be added to the
link to indicate the length, in bytes, of the primary content.
POST http://localhost/rest-api-web/repositories/repo/folders/
0c00000c80000105/documents
Content-Type: multipart/form-data; boundary=314159265358979
--314159265358979
Content-Disposition: form-data; name=metadata
Content-Type: application/vnd.emc.documentum+xml
<document>
<properties>
<object_name>document</object_name>
<r_object_type>dm_document</r_object_type>
...
</properties>
</document>
--314159265358979
Content-Disposition: form-data; name=binary1
Content-Type: text/plain
<document>
<properties>
<object_name>obj_without_content</object_name>
<r_object_type>dm_document</r_object_type>
...
</properties>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/
documents/
0900000580006435"/>
...
</links>
</document>
--314159265358979
Content-Disposition: form-data; name=metadata
Content-Type: application/vnd.emc.documentum+json
{
"attributes": {
"object_name": "rest-api-test"
}
}
--314159265358979
Content-Disposition: form-data; name=binary1
Content-Type: text/plain
{
"attributes":
{
"r_object_id": "0900000d10000983",
"object_name": "testDocument",
"r_creation_date": "2012-06-13T05:36:08.000+0800",
"r_modify_date": "2012-06-13T05:36:08.000+0800",
...
},
"links":
[
{
"rel": "self",
"href": "http://localhost:8080/rest/repositories/repo/documents/
0900000d10000983"
},
{
"rel":"enclosure",
"type":"text/plain",
"href":"http://localhost:8080/rest/repositories/repo/documents/
0900000c80016641/content"
}
]
}
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• Location
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
See Also: “Folder” on page 236 and About the Diagram on page 17.
2.27.2 Feed
Is this resource a feed? Yes.
2.27.4 Operations
2.27.4.1 Supported HTTP methods
Method Description
GET Retrieves a list all child folders under the
specified folder.
POST Creates a new child folder under the
specified folder.
Note: Enabling
hide-shared-
parent may
decrease
performance
object- Specifies the exact sub type string N/A null
type name to get from the
collection of this type
thumbnail Specifies whether this string true, false
operation deletes a non- false
empty folder or not.
• true - Return the
thumbnail link for each
entry in the collection
resource.
• false - Do not return
the thumbnail link for
each entry in the
collection resource.
• inline
• sort
The default sort order is by creation date, descending (most recent to oldest).
• page
• items-per-page
• include-total
• view
• links
• q
• filter
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the collection of child objects under the specified
folder.
• The body contains a list of child folder objects, each of which is filed under the
specified folder.
• Each object may contain all properties of the folder, depending on the setting of
the query parameter view.
• Each object contains links specific to the folder object type. See “Link relations”
on page 691 in SysObject resource, which provides information on what kind of
links are available for a certain type of object.
• The returned child objects collection only contains those that you have access to.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• Location
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the folder created under the specified folder. The
response contains all properties of the folder.
See Also: “Folder Child Links” on page 280 and About the Diagram on page 17.
2.28.1.2 Feed
No feed support.
2.28.1.4 Operations
Method Description
GET Retrieves the folder link between the parent
folder and its child object.
DELETE Unlinks a given object from one of its parent
folder.
Retrieve the folder link between the child object and its parent folder.
GET
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the folder link between the object and its parent
folder. The body contains the URI for the parent object and the URI for the child
object. The body also contains the parent ID and child ID.
Notes
• To unlink an object from a primary link, you must have at least the write
permission and the change location permission on the object.
• To unlink an object from a secondary link, you must have at least the browse
permission and the change location permission on the object.
• If the repository is running under folder security, you must also have at least
the write permission on the folder or cabinet from which the object is being
unlinked.
• Documents and folders must have at least one link to a folder or cabinet.
Therefore, you cannot unlink an object from its only linked folder or cabinet.
DELETE
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
HTTP 204 No Content status upon a successful unlink operation. The response body
contains no content.
See Also: “Folder” on page 236 and About the Diagram on page 17.
2.28.2.2 Feed
Is this resource a feed? Yes.
2.28.2.4 Operations
2.28.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a collection of child links for a
given folder.
POST Links an object to a given folder.
Retrieve all child links for a given folder. That is a set of the links between the folder
and all child objects under this folder.
• inline
• page
• items-per-page
• include-total
• sort
• filter
• links
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
XML or JSON representation of a collection child links for the given folder.
• The body contains a list of links between the given object and each of its parent
folders.
• Each link contains the URI for the given folder and the URI for one of its child
objects.
• Each entry contains the parent ID and the child ID.
• Each entry in the collection has a self link referring to the link resource.
• Pagination is supported.
The first execution of link on an object defines the object's primary link, which is the
place where the object is stored in the repository. Subsequent executions of link
associate the object to other folders or cabinets. These links are called secondary
links. This operation only allows you to create a new secondary link for an object.
The existing folder links for this object do not change. For more information about
how to create primary link during the object creation, see “Folder Child Objects”
on page 285.
To create a secondary link, you must have browse permission and the change
location permission on the object. When the repository is running under folder
security, you must also have the write permission on the folder or cabinet to which
the object is linked.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
XML or JSON representation of the newly-created folder link between the given
folder and the child object. The body contains the reference to the child object.
{
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
0900000c80000cc4"
}
• Location
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of newly-created link between the given folder and its
new child object.
See Also: “Folder” on page 236 and About the Diagram on page 17.
2.29.2 Feed
Is this resource a feed? Yes.
2.29.4 Operations
2.29.4.1 Supported HTTP methods
Method Description
GET Retrieves a list all objects under the specified
folder.
POST Creates a new object under the specified
folder.
POST Imports the object metadata and primary
content.
POST Copies an object to the specified folder.
Note:
Enablin
g
hide-
share
d-
paren
t may
decreas
e
perfor
mance.
include- Specifies string true, false false
all- whether or
versions not to list all
versions of
the child
object’s link.
• true -
Returns
all
versions.
• false -
Only
returns
the
current
version
object- Specifies the string N/A null
type exact sub
type name to
get from the
collection of
this type.
Parameter q
must be
encoded
because it
may contain
non-English
locale
characters.
Note:
Internat
ional
charact
ers that
are
used in
this
query
parame
ter
must be
sent
with
URL
encode
d by
the
UTF-8
charset.
Otherw
ise, the
result
may be
incorre
ct.
• inline
• sort
The default sort order is by creation date, descending (most recent to oldest).
• page
• items-per-page
• include-total
• view
• links
• filter
• q
The q parameter is supported for full text searching with a subset of the Simple
Search Language, however parentheses are not supported.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the collection of child objects under the specified
folder.
• The body contains a list of SysObject resources, each of which is filed under the
specified folder.
• Each object may contain all properties of the object, depending on the setting of
the query parameter view.
• Each object contains links specific to the type of the object. See “Link relations”
on page 691 in SysObject resource, which provides information on what links
are available for a certain type of object.
• The returned child objects collection only contains those that you have access to.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• The object type is specified in the r_object_type property of the request body.
The r_object_type property is optional. If this property is not specified in a
client request, it is set to dm_folder by default.
• Documentum Server validates the object_name property in the request. This
property is mandatory for some types, for example, dm_folder.
• Documentum Server validates the constraints and permissions on setting the
other properties (including read-only properties).
• Location
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the SysObject resource created under the specified
folder.
For more
information,
see content-
count
When more
than one type
of contents
are being
imported, the
format
parameter
can be used
to define the
format for
each piece of
content by
using a
comma
separated
string.
For example,
format=
crtext,
html,pub_
html
For more
information,
see format
For example,
when you
import with
the all-
primary
parameter set
to false, the
value of
modifier
can be:
modifier=,
mod1,mod2,
mod3. That
means the
first (or
primary)
contents has
no modifier,
and the
second
rendition's
modifier is
mod1, the
third
rendition's
modifier is
mod2 and so
on.
For more
information,
see modifier
A comma
separated list
can be used
to define
multiple
values for
this
parameter.
For example:
content-
length=
1024,2048,
,4096. The
blank value
shown here is
0.
For more
information,
see content-
length
For more
information,
see content-
charset
Note: Here are some additional details about the variables listed above:
• format
– The format list must match the content sequence. When you don't want to
specify the format for a piece of content you can leave it blank in the
comma separated list but you must still include the comma as a
placeholder. For example: format=crtext,,html.
– When the format for contents is not defined, the server uses the content
media type to select the format.
– When the all-primary parameter is true, all primary content types must
have the same format. In this case, when you define more than one format,
they must be the same. For example: format=crtext,crtext,crtext.
You can also define one format for all of the primary content: format=
crtext.
• modifier
Setting the all-primary parameter to true , or when content-count<=1
causes all modifiers to be ignored.
• content-charset
– When the metadata has a valid charset, then it is used to sanitize the
content.
– When the content-charset is not provided and the content is in HTML
format, the server tries to get a value for the content-charset parameter
from the metadata information of the content itself.
– The configuration default charset is used when the content-charset
parameter and the metadata information are not found
– When the charset and the content do not match, the uploaded content may
have an incorrectly encoded value.
– The configuration default charset is used when the content-charset
parameter and the metadata information are not found
• content-length
– When the all-primary parameter is set to false, the first value of in the
content-length parameter is used for the primary piece of content, the
other values in the comma separated string are ignored.
– When storing content to Centera storage, the content-length parameter
is mandatory and must be provided. For other storage mediums, such as
hard disk, the content-length parameter is optional.
– In all cases, including when the content-length parameter is not
required, if a value for it is set, the value must be an accurate byte count of
the contents to be uploaded.
– When the all-primary parameter is set to false, the first value in the
comma separated content-length string parameter is used for the
primary piece of content, but the other values in the comma separated
string are ignored.
• content-count
– When you import more than one piece of contents, the REST server must
know how many content pieces there are in total. The total number of
content pieces cannot be obtained until the end of the multipart stream.
Therefore, the client must specify this number in the value of the
content-count parameter.
– When the value set in the content-count parameter is greater than the
actual number of content pieces, an exception is thrown because the
system expects more content pieces.
– When the value set in the content-count parameter is less than the actual
number of content pieces, all content pieces that exist in addition to the
number of pieces set in the content-count parameter are ignored.
Caution
Ensure that the value provided by the content-count is accurate.
• multipart/form-data
• multipart/mixed
• Accept
• Authorization
• Content-Type (The Content-Type header must be either multipart/form-data
or multipart/mixed, which notifies the server this request is a multipart
request.)
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The request body is a multipart message that must conform to RFC 2046. A
multipart/form-data or multipart/mixed message contains a series of parts. This
series must conform to the following rules:
– application/vnd.emc.documentum+json (default)
– application/vnd.emc.documentum+xml
When the REST client sets Content-Type to a value that is invalid, the server
uses application/vnd.emc.documentum+json to overwrite the invalid value.
• The second part in the series must be the binary data of the primary content.
Content-Type for the second part must be the MIME type for the primary
content.
• Each part in the series must contain a Content-Disposition header. The
header’s disposition type must be form-data. The disposition must contain a
parameter titled name, which specifies the name of this part.
--314159265358979
Content-Disposition: form-data; name=metadata
Content-Type: application/vnd.emc.documentum+xml
<object>
<properties>
<object_name>xyz</object_name>
</properties>
</object>
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979--
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979
Content-Disposition: form-data; name=binary
Content-Type: text/plain
--314159265358979--
• Location
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the SysObject resource created under the specified
folder.
</links>
</document>
{
"name":"document",
"type":"dm_document",
"definition":"<documentResourceUri>",
"properties":{
"object_name":"xyz",
"r_object_id":"090020808001398e",
...
}
"links":[
{ "rel":"self", "href":"<documentResourceUri>"},
...
]
}
Note: When you copy a folder, whether and how to copy the objects under the
folder depends on the variables set in the message body.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The request body contains the link to the object to copy, and the following variables.
• Location
• Content-Length
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
See Also: “Formats” on page 308 and About the Diagram on page 17.
2.30.1.2 Feed
No feed support.
2.30.1.4 Operations
2.30.1.4.1 Supported HTTP methods
Method Description
GET Retrieves the information about a format.
GET
• view
• links
• sort
• inline
• filter
• page
• items-per-page
• include-total
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
2.30.2 Formats
The Formats resource represents a collection of dm_format instances stored in a
repository.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.30.2.2 Feed
Is this resource a feed? Yes.
2.30.2.4 Operations
Method Description
GET Retrieves the information about a collection
of formats.
GET
• inline
• view
• items-per-page
• page
• include-total
• sort
• links
• filter
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• The body contains a list of the dm_format instances (or subtypes of dm_format).
• Each object may contain all or a set of properties of the format, depending on the
setting of the query parameter view.
• The returned child objects collection only contains those that you have access to.
• Pagination is supported.
• By default, the results are listed in alphabetical order by format name.
• The format name in the URL is encoded.
See Also: “Groups” on page 320 and About the Diagram on page 17.
2.31.1.2 Feed
No feed support.
2.31.1.4 Operations
2.31.1.4.1 Supported HTTP methods
Method Description
GET Retrieve a group instance
POST Update a group
DELETE Delete a group
GET
• view
• links
• inline
• filter
• sort
• page
• items-per-page
• include-total
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the group. The information about the parent groups
and sub groups are presented in link relations instead of properties.
REPO/types/dm_group.xml">
<properties>
<group_name>admingroup</group_name>
<group_address />
<users_names>
<item>REPO_ADMIN</item>
<item>Administrator</item>
</users_names>
<owner_name>Administrator</owner_name>
<is_private>false</is_private>
<description />
<globally_managed>false</globally_managed>
<r_modify_date>2015-03-03T02:20:31.000+00:00</r_modify_date>
<alias_set_id>0000000000000000</alias_set_id>
<group_source />
<group_class>group</group_class>
<group_admin />
<r_has_events>false</r_has_events>
<is_dynamic>false</is_dynamic>
<is_dynamic_default>false</is_dynamic_default>
<group_global_unique_id>REPO:admingroup</group_global_unique_id>
<group_native_room_id>0000000000000000</group_native_room_id>
<group_directory_id>0000000000000000</group_directory_id>
<group_display_name>admingroup</group_display_name>
<is_protected>false</is_protected>
<is_module_only>false</is_module_only>
<i_is_replica>false</i_is_replica>
<i_vstamp>0</i_vstamp>
<r_object_id>1200000580000129</r_object_id>
</properties>
<links>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/REPO/
groups/
admingroup.xml" />
<link rel="edit" href="http://localhost:8080/dctm-rest/repositories/REPO/
groups/
admingroup.xml" />
<link rel="delete" href="http://localhost:8080/dctm-rest/repositories/REPO/
groups/
admingroup.xml" />
<link rel="parent" href="http://localhost:8080/dctm-rest/repositories/REPO/
groups.xml?group-name=admingroup" />
<link rel="http://identifiers.emc.com/linkrel/groups"
href="http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup/
groups.xml" />
<link rel="http://identifiers.emc.com/linkrel/users"
href="http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup/
users.xml" />
</links>
</group>
dm_group",
"properties":{
"group_name":"admingroup",
"group_address":"",
"users_names":["REPO_ADMIN",
"Administrator"],
"owner_name":"Administrator",
"is_private":false,
"description":"",
"globally_managed":false,
"r_modify_date":"2015-03-03T02:20:31.000+00:00",
"alias_set_id":"0000000000000000",
"group_source":"",
"group_class":"group",
"group_admin":"",
"r_has_events":false,
"is_dynamic":false,
"is_dynamic_default":false,
"group_global_unique_id":"REPO:admingroup",
"group_native_room_id":"0000000000000000",
"group_directory_id":"0000000000000000",
"group_display_name":"admingroup",
"is_protected":false,
"is_module_only":false,
"i_is_replica":false,
"i_vstamp":0,
"r_object_id":"1200000580000129"
},
"links":[
{"rel":"self",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup"},
{"rel":"edit",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup"},
{"rel":"delete",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup"},
{"rel":"parent",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups?
group-name=admingroup"},
{"rel":"http://identifiers.emc.com/linkrel/groups",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup/groups"},
{"rel":"http://identifiers.emc.com/linkrel/users",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup/users"}
]
}
Update the attributes of a group. Only the SysAdmin, SuperUser, or group owner
can update the group.
POST
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
{
properties:{
"owner_name":"Administrator",
...
}
}
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
<links>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/REPO/
groups/
admingroup.xml" />
<link rel="edit" href="http://localhost:8080/dctm-rest/repositories/REPO/
groups/
admingroup.xml" />
<link rel="delete" href="http://localhost:8080/dctm-rest/repositories/REPO/
groups/
admingroup.xml" />
<link rel="parent" href="http://localhost:8080/dctm-rest/repositories/REPO/
groups.xml?group-name=admingroup" />
<link rel="http://identifiers.emc.com/linkrel/groups"
href="http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup/
groups.xml" />
<link rel="http://identifiers.emc.com/linkrel/users"
href="http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup/
users.xml" />
</links>
</group>
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup"},
{"rel":"edit",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup"},
{"rel":"delete",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup"},
{"rel":"parent",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups?
group-name=admingroup"},
{"rel":"http://identifiers.emc.com/linkrel/groups",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup/groups"},
{"rel":"http://identifiers.emc.com/linkrel/users",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/groups/
admingroup/users"}
]
}
Delete a group. Only the SysAdmin, SuperUser, or group owner can delete a group.
DELETE
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
2.31.2 Groups
The Groups resource represents a collection of group instances in a repository.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.31.2.2 Feed
Is this resource a feed? Yes.
2.31.2.4 Operations
2.31.2.4.1 Supported HTTP methods
Method Description
GET Retrieves the information about a collection
of groups.
Caution
You cannot use the username and groupname parameters simultaneously.
• inline
• view
• items-per-page
• page
• include-total
• sort
• recursive
• links
• filter
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
Note: International characters that are used in the preceding query parameters
must be sent with URL encoded by the UTF-8 charset. Otherwise, the result
may be incorrect.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• The body contains a list of the dm_group instances (or subtypes of dm_group).
• Each object may contain all or a set of properties of the group, depending on the
setting of the query parameter view.
• The returned child objects collection only contains those that you have access to.
• Pagination is supported.
• By default, the results are listed in alphabetical order by group name.
• The group name in the URL is encoded.
Create a group in the repository. The SysAdmin, SuperUser or any other user with
“Create group” permissions can create a group.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• Location
The URL of the created group.
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
See Also: “Group Users” on page 327 and About the Diagram on page 17.
2.32.1.2 Feed
No feed support.
2.32.1.4 Operations
Method Description
DELETE Remove the relation between a group and its
user member
DELETE
N/A
• Accept
• Content-Type
• Authentication
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
DELETE http://localhost:8080/dctm-rest/repositories/acme/groups/
mydocument/users/myuser
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
See Also: “Group” on page 311 and About the Diagram on page 17.
2.32.2.2 Feed
Is this resource a feed? Yes.
2.32.2.4 Operations
Method Description
GET Retrieves the information about a collection
of users.
Retrieve the information about a collection of users that belong to a given group.
GET
• inline
• view
• items-per-page
• page
• include-total
• sort
• recursive
• links
• filter
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• The body contains a list of the dm_user instances (or subtypes of dm_user).
• Each object may contain all or a set of properties of the user, depending on the
setting of the query parameter view.
• The returned child objects collection only contains those that you have access to.
• Pagination is supported.
• By default, the results are listed in alphabetical order by user name.
POST
• href
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• application/atom+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The href variable, which specifies the user resource, must be supplied. This variable
is a string and has a <null> default value.
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
Home Documents for HTTP Services: XML Syntax on IETF Tools website (XML
representation)
Home Documents for HTTP APIs on IETF Tools website (JSON representation)
2.33.2 Feed
No feed support.
2.33.4 Operations
2.33.4.1 Supported HTTP methods
Method Description
GET Retrieves the home document.
For example, when the context root of the REST server is deployed as http://
localhost:8080/dctm-rest, then the Home Document's URI would be http://
localhost:8080/dctm-rest/services.
GET
N/A
• Accept
This resource does not accept application/vnd.emc.documentum+json or
application/vnd.emc.documentum+xml. Instead, it accepts application/home
+json and application/home+xml.
Note: The authorization header is not needed when a client tries to get this
resource.
For more information about HTTP headers, see Appendix D, REST Common
Definition - HTTP Headers on page 987.
N/A
• Content-Type
• Content-Length
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/home+xml
• application/home+json
The following code sample illustrates the Response body for this resource.
<resources>
<resource rel="http://identifiers.emc.com/linkrel/repositories">
<link href=
"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories" />
<hints>
<allow>
<i>GET</i>
</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/atom+xml</i>
<i>application/vnd.emc.documentum+json</i>
</representations>
</hints>
</resource>
<resource rel="about">
<link href= "http://core-rs-demo.lss.emc.com:8080/dctm-rest/product-
info" />
<hints>
<allow>
<i>GET</i>
</allow>
<representations>
<i>application/xml</i>
<i>application/json</i>
<i>application/vnd.emc.documentum+xml</i>
<i>application/vnd.emc.documentum+json</i>
</representations>
</hints>
</resource>
</resources>
{
"resources": {
"http://identifiers.emc.com/linkrel/repositories": {
"href": "http://core-rs-demo.lss.emc.com:8080/dctm-rest/
repositories.json",
"hints": {
"allow": [
"GET"
],
"representations": [
"application/xml",
"application/json",
"application/atom+xml",
"application/vnd.emc.documentum+json"
]
}
},
"about": {
"href": "http://core-rs-demo.lss.emc.com:8080/dctm-rest/product-
info.json",
"hints": {
"allow": [
"GET"
],
"representations": [
"application/xml",
"application/json",
"application/vnd.emc.documentum+xml",
"application/vnd.emc.documentum+json"
]
}
}
}
}
2.34 Inbox
The Inbox resource is used to get the notifications and workflow tasks of a user.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.34.2 Feed
Is this resource a feed? Yes.
2.34.4 Operations
2.34.4.1 Supported HTTP methods
Method Description
GET Retrieves the inbox
Note: The include-total, sort, view and filter parameters are not
supported.
N/A
• Accept
• Authorization
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/xml
• application/atom+xml
• application/json
• application/vnd.emc.documentum+json
• application/hal+json
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/inbox",
"title": "Inbox items",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-02-27T07:34:39.138+00:00",
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/inbox"
}
],
"entries": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/inbox/
1b000001800011fb",
"title": "Activity-2",
"summary": "ACQUIRED",
"updated": "2018-12-25T09:18:42.000+00:00",
"published": "2018-12-25T09:18:42.000+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
inbox/1b000001800011fb"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/inbox/
1b000001800011fb"
}
}
]
}
See Also: “Inbox” on page 335 and About the Diagram on page 17.
2.35.2 Feed
No feed support.
2.35.4 Operations
Method Description
GET Retrieves the properties of the inbox item
PUT Performs actions on the workflow task item
DELETE Removes a notification from the inbox
N/A
• Accept
• Authorization
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
<sent-by>dmadmin</sent-by>
<sent-date>2018-12-25T09:18:42.000+00:00</sent-date>
<item-id>4a00000180000102</item-id>
<workflow-id>4d00000180000100</workflow-id>
<workflow-task-type>NORMAL</workflow-task-type>
<performer>dmadmin</performer>
<stamp>1b000001800011fb</stamp>
<object-id>1b000001800011fb</object-id>
<links>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/inbox/
1b000001800011fb"
rel="self"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d00000180000100"
rel="http://identifiers.emc.com/linkrel/workflow"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c8"
rel="http://identifiers.emc.com/linkrel/workflow-activity"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/work-items/
4a00000180000102/packages"
rel="http://identifiers.emc.com/linkrel/task-packages"/>
</links>
</workflow-task>
"has-forward-activities": true,
"has-reject-activities": true,
"queue-item-id": "1b000001800011fb",
"activity-id": "4c000001800025c8",
"activity-name": "Activity-2",
"is-performer-assignment-required": false,
"complete-error-status": "COMPLETE_UNKNOWN",
"task-name": "Activity-2",
"task-type": "WORKFLOWTASK",
"task-state": "ACQUIRED",
"priority": 0,
"sent-by": "dmadmin",
"sent-date": "2018-12-25T09:18:42.000+00:00",
"item-id": "4a00000180000102",
"workflow-id": "4d00000180000100",
"workflow-task-type": "NORMAL",
"performer": "dmadmin",
"stamp": "1b000001800011fb",
"object-id": "1b000001800011fb",
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/inbox/
1b000001800011fb"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d00000180000100"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c8"
}, {
"rel": "http://identifiers.emc.com/linkrel/task-packages",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/inbox/
4a00000180000102/packages"
}
]
}
"is-group-owned": false,
"runtime-state": "ACQUIRED",
"is-failed-autotask": false,
"is-manual-transition": false,
"instruction": "",
"is-sequentiala-activity": false,
"has-self-reject-link": false,
"is-first-performer": false,
"is-last-performer": false,
"has-forward-activities": true,
"has-reject-activities": true,
"queue-item-id": "1b000001800011fb",
"activity-id": "4c000001800025c8",
"activity-name": "Activity-2",
"is-performer-assignment-required": false,
"complete-error-status": "COMPLETE_UNKNOWN",
"task-name": "Activity-2",
"task-type": "WORKFLOWTASK",
"task-state": "ACQUIRED",
"priority": 0,
"sent-by": "dmadmin",
"sent-date": "2018-12-25T09:18:42.000+00:00",
"item-id": "4a00000180000102",
"workflow-id": "4d00000180000100",
"workflow-task-type": "NORMAL",
"performer": "dmadmin",
"stamp": "1b000001800011fb",
"object-id": "1b000001800011fb",
"_links": {
"http://identifiers.emc.com/linkrel/workflow": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d00000180000100"
},
"http://identifiers.emc.com/linkrel/workflow-activity": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c8"
},
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/inbox/
1b000001800011fb"
},
"http://identifiers.emc.com/linkrel/task-packages": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/work-items/
4a00000180000102/packages"
}
}
}
N/A
• Accept
• Authorization
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
N/A
• Authorization
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• N/A
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
N/A
2.36 Job(s)
2.36.1 Job
The Job resource represents the metadata of a single job.
See Also: “Job” on page 350 and About the Diagram on page 17.
2.36.1.2 Feed
No feed support.
2.36.1.4 Operations
2.36.1.4.1 Supported HTTP methods
Method Description
GET Retrieve a job
POST Update a job
DELETE Delete a job
N/A
• Accept
• Authorization
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
GET http://localhost:8080/dctm-rest/repositories/documentum1/jobs/
080004d28000035b
Accept:application/xml
Authorization:Basic ZG1hZG1pbjpwYXNzd29yZA==
<dm:job xsi:type="dm_job"
definition="http://localhost:8080/dctm-rest/repositories/documentum1/
types/dm_job">
<dm:properties>
<dm:r_object_id>080004d28000035b</dm:r_object_id>
<dm:object_name>dm_DMClean</dm:object_name>
<dm:r_object_type>dm_job</dm:r_object_type>
<dm:subject>Executes dmclean on a schedule</dm:subject>
<dm:title>Content</dm:title>
<dm:owner_name>Administrator</dm:owner_name>
<dm:method_trace_level>0</dm:method_trace_level>
<dm:target_server>documentum1.documentum1@cs1671</dm:target_server>
<dm:is_inactive>true</dm:is_inactive>
<dm:start_date>2019-11-18T17:30:00.000+00:00</dm:start_date>
<dm:inactivate_after_failure>false</dm:inactivate_after_failure>
<dm:a_next_invocation>2019-11-18T17:30:00.000+00:00</
dm:a_next_invocation>
<dm:run_mode>4</dm:run_mode>
<dm:max_iterations>0</dm:max_iterations>
<dm:expiration_date>2027-11-18T17:30:00.000+00:00</dm:expiration_date>
<dm:method_name>dm_DMClean</dm:method_name>
<dm:method_arguments>
<dm:item>-window_interval 120</dm:item>
<dm:item>-queueperson</dm:item>
<dm:item>-clean_content TRUE</dm:item>
<dm:item>-clean_note TRUE</dm:item>
<dm:item>-clean_acl TRUE</dm:item>
<dm:item>-clean_wf_template TRUE</dm:item>
<dm:item>-clean_now TRUE</dm:item>
<dm:item>-clean_castore FALSE</dm:item>
<dm:item>-clean_aborted_wf FALSE</dm:item>
<dm:item>-clean_deleted_lwso TRUE</dm:item>
<dm:item>-clean_content_in_parallel FALSE</dm:item>
<dm:item>-parallel_degree 5</dm:item>
<dm:item>-clean_wf_method_exec_result FALSE</dm:item>
<dm:item>-batch_size 2000</dm:item>
<dm:item>-query_batch_size 0</dm:item>
</dm:method_arguments>
</dm:properties>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/documentum1/
jobs/
080004d28000035b"/>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/documentum1/
jobs/
080004d28000035b"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/
documentum1/
jobs/080004d28000035b"/>
</links>
</dm:job>
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
<dm:job xsi:type="dm_job"
definition="http://localhost:8080/dctm-rest/repositories/documentum1/
types/dm_job">
<dm:properties>
<dm:r_object_id>080004d28000035b</dm:r_object_id>
<dm:object_name>dm_DMClean</dm:object_name>
<dm:r_object_type>dm_job</dm:r_object_type>
<dm:subject>Executes dmclean on a schedule</dm:subject>
<dm:title>Content</dm:title>
<dm:owner_name>Administrator</dm:owner_name>
<dm:method_trace_level>0</dm:method_trace_level>
<dm:target_server>documentum1.documentum1@cs1671</dm:target_server>
<dm:is_inactive>true</dm:is_inactive>
<dm:start_date>2019-11-20T05:46:08.000+00:00</dm:start_date>
<dm:inactivate_after_failure>false</dm:inactivate_after_failure>
<dm:a_next_invocation>2019-11-18T17:30:00.000+00:00</
dm:a_next_invocation>
<dm:run_mode>4</dm:run_mode>
<dm:max_iterations>0</dm:max_iterations>
<dm:expiration_date>2027-11-18T17:30:00.000+00:00</dm:expiration_date>
<dm:method_name>my_method</dm:method_name>
<dm:method_arguments>
<dm:item>-window_interval 120</dm:item>
<dm:item>-queueperson</dm:item>
<dm:item>-clean_content TRUE</dm:item>
<dm:item>-clean_note TRUE</dm:item>
<dm:item>-clean_acl TRUE</dm:item>
<dm:item>-clean_wf_template TRUE</dm:item>
<dm:item>-clean_now TRUE</dm:item>
<dm:item>-clean_castore FALSE</dm:item>
<dm:item>-clean_aborted_wf FALSE</dm:item>
<dm:item>-clean_deleted_lwso TRUE</dm:item>
<dm:item>-clean_content_in_parallel FALSE</dm:item>
<dm:item>-parallel_degree 5</dm:item>
<dm:item>-clean_wf_method_exec_result FALSE</dm:item>
<dm:item>-batch_size 2000</dm:item>
<dm:item>-query_batch_size 0</dm:item>
</dm:method_arguments>
</dm:properties>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/documentum1/
jobs/
080004d28000035b"/>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/documentum1/
jobs/
080004d28000035b"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/documentum1/
jobs/
080004d28000035b"/>
</links>
</dm:job>
N/A
• N/A
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
• N/A
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
N/A
2.36.2 Jobs
The Jobs resource represents a collection of Job instances in a repository.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.36.2.2 Feed
Is this resource a feed? Yes.
2.36.2.4 Operations
2.36.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a collection of Job instances.
POST Used to create new Jobs instances.
false - does
not return an
object
instance.
sort Only groups string string null
that contain a
sub group (a
dm_group
instance)
whose
group_name
property
equals to the
specified
string are
returned in
the result.
exclusive -
names of
predefined
views start
with ":", the
following
view-name
values are
defined: – :all
– :default - if
no view-
name is
specified,
names of
properties or
predefined
views should
be returned,
separated by
comma (',').
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• Workflow
N/A
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• Content-Length
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
GET http://localhost:9089/dctm-rest/repositories/documentum1/jobs?inline=true
Accept:application/atom+xml
Authorization:Basic ZG1hZG1pbjpwYXNzd29yZA==
</summary>
<updated>2020-01-03T09:29:17.060+00:00</updated>
<published>2020-01-03T09:29:17.060+00:00</published>
<content xmlns:dm="http://identifiers.emc.com/vocab/documentum">
<dm:job xsi:type="dm_job"
definition="http://localhost:8080/dctm-rest/repositories/
documentum1/types/dm_job">
<dm:properties>
<dm:r_object_id>080004d28000036f</dm:r_object_id>
<dm:r_object_type>dm_job</dm:r_object_type>
<dm:object_name>dm_ContentReplication</dm:object_name>
<dm:subject>Replicates content from specified source (or all) to
target site</dm:subject>
<dm:title>Replication</dm:title>
</dm:properties>
<dm:links>
<dm:link rel="self"
href="http://localhost:9089/dctm-rest/repositories/
documentum1/jobs/080004d28000036f"/>
<dm:link rel="edit"
href="http://localhost:9089/dctm-rest/repositories/
documentum1/jobs/080004d28000036f"/>
</dm:links>
</dm:job>
</content>
</entry>
</feed>
GET http://localhost:9089/dctm-rest/repositories/documentum1/
jobs?filter=starts-with(object_name,"dm_Au")
Accept:application/atom+xml
Authorization:Basic ZG1hZG1pbjpwYXNzd29yZA==
<published>2019-11-20T05:46:08.000+00:00</published>
<content xmlns:dm="http://identifiers.emc.com/vocab/documentum">
<dm:job xsi:type="dm_job"
definition="http://localhost:9089/dctm-rest/repositories/
documentum1/types/dm_job">
<dm:properties>
<dm:r_object_id>080004d28000035f</dm:r_object_id>
<dm:r_object_type>dm_job</dm:r_object_type>
<dm:object_name>dm_AuditMgt</dm:object_name>
<dm:subject>Removes old audit trail entries</dm:subject>
<dm:title>Docbase</dm:title>
</dm:properties>
<dm:links>
<dm:link rel="self"
href="http://localhost:9089/dctm-rest/repositories/
documentum1/jobs/080004d28000035f"/>
<dm:link rel="edit"
href="http://localhost:9089/dctm-rest/repositories/
documentum1/jobs/080004d28000035f"/>
</dm:links>
</dm:job>
</content>
</entry>
</feed>
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
– 1: Every x minutes
– 2: Every x hours
– 3: Every x days
– 4: Every x weeks
– 5: Every x months
– 7: Every x day of week
– 8: Every x day of month
– 9: Every x day of year
• Location
The URL of the Job created.
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
See Also: “Lifecycles” on page 382 and About the Diagrams on page 17.
2.37.1.2 Feed
No feed support.
2.37.1.4 Operations
Method Description
GET Retrieves a single Lifecycle object.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
</type-inclusion>
<type-inclusion>
<type>dm_document</type>
<include-subtypes>true</include-subtypes>
</type-inclusion>
</type-inclusions>
<user-validation-service>
<id>0b00000580004df1</id>
<name>lifecyclemodule</name>
<primary-class>
com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor
</primary-class>
</user-validation-service>
<app-validation>
<id>0b00000580004df1</id>
<name>lifecyclemodule</name>
<version></version>
</app-validation>
<states>
<state>
<name>draft</name>
<type></type>
<description>draft version</description>
<exceptional>false</exceptional>
<exception-state></exception-state>
<allow-attach>true</allow-attach>
<allow-schedule>true</allow-schedule>
<allow-return-to-base>false</allow-return-to-base>
<allow-demote>false</allow-demote>
<index>0</index>
<no>0</no>
<return-conditions>
<return-condition>ALL</return-condition>
</return-conditions>
<type-override-id></type-override-id>
<entry-criteria>
<id>550000058000093b</id>
<expression>((subject = "ok"))</expression>
</entry-criteria>
<action>
<id>0800000580004e05</id>
<name>
review_fmuzh1p0kpq8ilz5ifvexz actionset procedure for policy
a_docbasic_lifecycle
</name>
</action>
<user-criteria>
<id></id>
<name></name>
<version></version>
</user-criteria>
<user-action>
<id></id>
<name></name>
<version></version>
</user-action>
<user-post-action>
<id></id>
<name></name>
<version></version>
</user-post-action>
<user-criteria-service>
<id>0b00000580004df1</id>
<name>lifecyclemodule</name>
<primary-class>
com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor
</primary-class>
</user-criteria-service>
<user-action-service>
<id>0b00000580004df1</id>
<name>lifecyclemodule</name>
<primary-class>
com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor
</primary-class>
</user-action-service>
<user-post-service>
<id>0b00000580004df1</id>
<name>lifecyclemodule</name>
<primary-class>
com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor
</primary-class>
</user-post-service>
<system-action>
<id></id>
<name></name>
<primary-class></primary-class>
</system-action>
</state>
</states>
<status>INSTALLED</state>
<links>...</links>
</lifecycle>
"id" : "0800000580004e05",
"name" : ""
},
"states" : [{
"name" : "draft",
"type" : "",
"description" : "draft version",
"exceptional" : false,
"exception-state" : "",
"allow-attach" : true,
"allow-schedule" : true,
"allow-return-to-base" : false,
"allow-demote" : false,
"index" : 0,
"return-conditions" : [ "ALL" ],
"entry-criteria" : {
"id" : "550000058000093b",
"expression" : "(((subject = \"ok\") Or (subject = \"action fail\"))
Or (subject = \"post fail\"))"
},
"action" : {
"id" : "0800000580004e05",
"name" : "review_fmuzh1p0kpq8ilz5ifvexz actionset procedure for policy
a_docbasic_lifecycle",
"versin" : ""
},
"user-criteria" : {
"id" : "",
"name" : "",
"versin" : ""
},
"user-action" : {
"id" : "",
"name" : "",
"versin" : ""
},
"user-post-action" : {
"id" : "",
"name" : "",
"versin" : ""
},
"user-criteria-service" : {
"id" : "0b00000580004df1",
"name" : "lifecyclemodule",
"primary-class" :
"com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor"
},
"user-action-service" : {
"id" : "0b00000580004df1",
"name" : "lifecyclemodule",
"primary-class" :
"com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor"
},
"user-post-service" : {
"id" : "0b00000580004df1",
"name" : "lifecyclemodule",
"primary-class" :
"com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor"
},
"system-action" : {
"id" : "",
"name" : "",
"primary-class" : ""
}
}],
"type-override-id" : "",
"status" : "INSTALLED",
"links" : [xxx]
}
The following table shows the mapping between Documentum properties and
Lifecycle properties.
{
"id" : "4600000580004dfb",
"name" : "a_docbasic_lifecycle",
"owner" : "dmadmin",
"created" : "2017-05-03T02:15:21.000+00:00",
"modified" : "2017-05-03T02:15:25.000+00:00",
"implementation-type" : "DOCBASIC",
"version-labels" : [
"1.0",
"CURRENT"
],
"status" : "INSTALLED",
"type-inclusions" : [
{
"type" : "dm_document",
"include-subtypes" : true
}
],
"states" : [
{
"name" : "draft",
"index" : 0,
"no" : 0,
"exceptional" : false,
"allow-attach" : true,
"allow-schedule" : true,
"allow-return-to-base" : false,
"allow-demote" : false,
"return-conditions" : [
"ALL"
]
},
{
"name" : "review",
"index" : 1,
"no" : 1,
"exceptional" : false,
"exception-state" : "fail",
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : true,
"allow-demote" : true,
"return-conditions" : [
"CHECKIN",
"SAVE_AS_NEW",
"BRANCH"
],
"entry-criteria" : {
"id" : "550000058000093b",
"expression" : "(((subject = \"ok\") Or (subject = \"action fail\"))
Or (subject = \"post fail\"))"
},
"action" : {
"id" : "0800000580004e05",
"name" : "review_fmuzh1p0kpq8ilz5ifvexz actionset procedure for policy
a_docbasic_lifecycle"
}
},
{
"name" : "publish",
"index" : 2,
"no" : 2,
"exceptional" : false,
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : true,
"allow-demote" : true,
"return-conditions" : [
"BRANCH"
],
"entry-criteria" : {
"id" : "550000058000093c",
"expression" : "(((subject = \"ok\") Or (subject = \"action fail\"))
Or (subject = \"post fail\"))"
},
"action" : {
"id" : "0800000580004e06",
"name" : "publish_2cp0x50b4s+anynusyzqm5 actionset procedure for
policy
a_docbasic_lifecycle"
}
},
{
"name" : "fail",
"index" : 3,
"no" : 3,
"exceptional" : true,
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : false,
"allow-demote" : false,
"return-conditions" : [
"ALL"
]
}
],
"links" : [
{
"rel" : "self",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfb"
},
{
"rel" : "http://identifiers.emc.com/linkrel/owner",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/users/
dmadmin"
},
{
"rel" : "http://identifiers.emc.com/linkrel/type",
"title" : "dm_document",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_document"
}
]
}
<allow-schedule>true</allow-schedule>
<allow-return-to-base>true</allow-return-to-base>
<allow-demote>true</allow-demote>
<return-conditions>
<return-condition>CHECKIN</return-condition>
<return-condition>SAVE_AS_NEW</return-condition>
<return-condition>BRANCH</return-condition>
</return-conditions>
<entry-criteria>
<id>550000058000093b</id>
<expression>
(((subject = "ok") Or (subject = "action fail")) Or (subject = "post
fail"))
</expression>
</entry-criteria>
<action>
<id>0800000580004e05</id>
<name>review_fmuzh1p0kpq8ilz5ifvexz actionset procedure for policy
a_docbasic_lifecycle
</name>
</action>
</state>
<state>
<name>publish</name>
<index>2</index>
<no>2</no>
<exceptional>false</exceptional>
<allow-attach>false</allow-attach>
<allow-schedule>true</allow-schedule>
<allow-return-to-base>true</allow-return-to-base>
<allow-demote>true</allow-demote>
<return-conditions>
<return-condition>BRANCH</return-condition>
</return-conditions>
<entry-criteria>
<id>550000058000093c</id>
<expression>
(((subject = "ok") Or (subject = "action fail")) Or (subject = "post
fail"))
</expression>
</entry-criteria>
<action>
<id>0800000580004e06</id>
<name>publish_2cp0x50b4s+anynusyzqm5 actionset procedure for policy
a_docbasic_lifecycle
</name>
</action>
</state>
<state>
<name>fail</name>
<index>3</index>
<no>3</no>
<exceptional>true</exceptional>
<allow-attach>false</allow-attach>
<allow-schedule>true</allow-schedule>
<allow-return-to-base>false</allow-return-to-base>
<allow-demote>false</allow-demote>
<return-conditions>
<return-condition>ALL</return-condition>
</return-conditions>
</state>
</states>
<links>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfb" rel="self"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/users/
dmadmin"
rel="http://identifiers.emc.com/linkrel/owner"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_document"
rel="http://identifiers.emc.com/linkrel/type"
title="dm_document"/>
</links>
</lifecycle>
"exceptional" : false,
"exception-state" : "fail",
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : true,
"allow-demote" : true,
"return-conditions" : [
"CHECKIN",
"SAVE_AS_NEW",
"BRANCH"
],
"user-criteria-service" : {
"id" : "0b00000580004df1",
"name" : "lifecyclemodule",
"primary-
class":"com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor"
},
"user-action-service" : {
"id" : "0b00000580004df1",
"name" : "lifecyclemodule",
"primary-
class":"com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor"
},
"user-post-service" : {
"id" : "0b00000580004df1",
"name" : "lifecyclemodule",
"primary-
class":"com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor"
}
},
{
"name" : "publish",
"index" : 2,
"no" : 2,
"exceptional" : false,
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : true,
"allow-demote" : true,
"return-conditions" : [
"BRANCH"
],
"user-criteria-service" : {
"id" : "0b00000580004df1",
"name" : "lifecyclemodule",
"primary-
class":"com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor"
},
"user-action-service" : {
"id" : "0b00000580004df1",
"name" : "lifecyclemodule",
"primary-
class":"com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor"
},
"user-post-service" : {
"id" : "0b00000580004df1",
"name" : "lifecyclemodule",
"primary-
class":"com.emc.documentum.emc.dfc.lifecycle.RestLifecycleUserProcessor"
}
},
{
"name" : "fail",
"index" : 3,
"no" : 3,
"exceptional" : true,
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : false,
"allow-demote" : false,
"return-conditions" : [
"ALL"
]
}
],
"links" : [
{
"rel" : "self",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfc"
},
{
"rel" : "http://identifiers.emc.com/linkrel/owner",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/users/
dmadmin"
},
{
"rel" : "http://identifiers.emc.com/linkrel/type",
"title" : "dm_document",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_document"
}
]
}
2.37.2 Lifecycles
The Lifecycles resource is used to retrieve the Lifecycles (policies) defined in the
repository.
See Also: “Repository” on page 562 and About the Diagrams on page 17.
2.37.2.2 Feed
Is this resource a feed? Yes.
2.37.2.4 Operations
2.37.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a list of Lifecycles from a
repository.
GET
• inline
• sort
• page
• items-per-page
• include-total
• links
• filter
• object-id: This query parameter is a string containing the object id and its
default value is null.
• object-type: This query parameter is a string containing the object type name
and its default value is null.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
The view parameter is not supported. When the filter parameter is specified, the
client must provide the property name of the DCTM Lifecycle (policy) object, such
as object_name, or r_object_id.
Caution
Providing the object-id and the object-type at the same time causes an
exception to be thrown. When the object-id or the object-type are
specified, only those lifecycles that are allowed to be attached by the
specified object or object type, are returned. The filter parameter, in this
case, is ignored.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
</id>
<title>a_java_lifecycle</title>
<author>
<name>dmadmin</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/
dmadmin</uri>
</author>
<updated>2017-05-03T02:15:24.000+00:00</updated>
<published>2017-05-03T02:15:22.000+00:00</published>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfc" rel="edit"/>
<content src="http://localhost:8080/dctm-rest/repositories/REPO/
lifecycles/
4600000580004dfc" type="application/xml"/>
</entry>
</feed>
"type" : "application/vnd.emc.documentum+json",
"src" : "http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfb"
}
},
{
"id" : "http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfc",
"title" : "a_java_lifecycle",
"author" : [
{
"name" : "dmadmin",
"uri" : "http://localhost:8080/dctm-rest/repositories/REPO/users/
dmadmin"
}
],
"updated" : "2017-05-03T02:15:24.000+00:00",
"published" : "2017-05-03T02:15:22.000+00:00",
"links" : [
{
"rel" : "edit",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/
lifecycles/
4600000580004dfc"
}
],
"content" : {
"type" : "application/vnd.emc.documentum+json",
"src" : "http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfc"
}
}
]
}
Caution
When getting an inline lifecycle, the following information is not returned:
<dm:allow-attach>true</dm:allow-attach>
<dm:allow-schedule>true</dm:allow-schedule>
<dm:allow-return-to-base>false</dm:allow-return-to-base>
<dm:allow-demote>false</dm:allow-demote>
<dm:return-conditions>
<dm:return-condition>ALL</dm:return-condition>
</dm:return-conditions>
</dm:state>
<dm:state>
<dm:name>review</dm:name>
<dm:index>1</dm:index>
<dm:no>1</dm:no>
<dm:exceptional>false</dm:exceptional>
<dm:exception-state>fail</dm:exception-state>
<dm:allow-attach>false</dm:allow-attach>
<dm:allow-schedule>true</dm:allow-schedule>
<dm:allow-return-to-base>true</dm:allow-return-to-base>
<dm:allow-demote>true</dm:allow-demote>
<dm:return-conditions>
<dm:return-condition>CHECKIN</dm:return-condition>
<dm:return-condition>SAVE_AS_NEW</dm:return-condition>
<dm:return-condition>BRANCH</dm:return-condition>
</dm:return-conditions>
<dm:entry-criteria>
<dm:id>550000058000093b</dm:id>
</dm:entry-criteria>
<dm:action>
<dm:id>0800000580004e05</dm:id>
</dm:action>
</dm:state>
<dm:state>
<dm:name>publish</dm:name>
<dm:index>2</dm:index>
<dm:no>2</dm:no>
<dm:exceptional>false</dm:exceptional>
<dm:allow-attach>false</dm:allow-attach>
<dm:allow-schedule>true</dm:allow-schedule>
<dm:allow-return-to-base>true</dm:allow-return-to-base>
<dm:allow-demote>true</dm:allow-demote>
<dm:return-conditions>
<dm:return-condition>BRANCH</dm:return-condition>
</dm:return-conditions>
<dm:entry-criteria>
<dm:id>550000058000093c</dm:id>
</dm:entry-criteria>
<dm:action>
<dm:id>0800000580004e06</dm:id>
</dm:action>
</dm:state>
<dm:state>
<dm:name>fail</dm:name>
<dm:index>3</dm:index>
<dm:no>3</dm:no>
<dm:exceptional>true</dm:exceptional>
<dm:allow-attach>false</dm:allow-attach>
<dm:allow-schedule>true</dm:allow-schedule>
<dm:allow-return-to-base>false</dm:allow-return-to-base>
<dm:allow-demote>false</dm:allow-demote>
<dm:return-conditions>
<dm:return-condition>ALL</dm:return-condition>
</dm:return-conditions>
</dm:state>
</dm:states>
<dm:links>
<dm:link
href="http://localhost:8080/dctm-rest/repositories/REPO/
lifecycles/
4600000580004dfb"
rel="self"/>
<dm:link
href="http://localhost:8080/dctm-rest/repositories/REPO/
users/dmadmin"
rel="http://identifiers.emc.com/linkrel/owner"/>
<dm:link
href="http://localhost:8080/dctm-rest/repositories/REPO/
types/
dm_document"
rel="http://identifiers.emc.com/linkrel/type"
title="dm_document"/>
</dm:links>
</dm:lifecycle>
</content>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfc</id>
<title>a_java_lifecycle</title>
<author>
<name>dmadmin</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/dmadmin</
uri>
</author>
<updated>2017-05-03T02:15:24.000+00:00</updated>
<published>2017-05-03T02:15:22.000+00:00</published>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfc"
rel="edit"/>
<content>
<dm:lifecycle xmlns:dm="http://identifiers.emc.com/vocab/documentum">
<dm:id>4600000580004dfc</dm:id>
<dm:name>a_java_lifecycle</dm:name>
<dm:owner>dmadmin</dm:owner>
<dm:created>2017-05-03T02:15:22.000+00:00</dm:created>
<dm:modified>2017-05-03T02:15:24.000+00:00</dm:modified>
<dm:implementation-type>JAVA</dm:implementation-type>
<dm:version-labels>
<dm:version-label>1.0</dm:version-label>
<dm:version-label>CURRENT</dm:version-label>
</dm:version-labels>
<dm:status>INSTALLED</dm:status>
<dm:type-inclusions>
<dm:type-inclusion>
<dm:type>dm_document</dm:type>
<dm:include-subtypes>true</dm:include-subtypes>
</dm:type-inclusion>
</dm:type-inclusions>
<dm:user-validation-service>
<dm:name>lifecyclemodule</dm:name>
</dm:user-validation-service>
<dm:states>
<dm:state>
<dm:name>draft</dm:name>
<dm:index>0</dm:index>
<dm:no>0</dm:no>
<dm:exceptional>false</dm:exceptional>
<dm:allow-attach>true</dm:allow-attach>
<dm:allow-schedule>true</dm:allow-schedule>
<dm:allow-return-to-base>false</dm:allow-return-to-base>
<dm:allow-demote>false</dm:allow-demote>
<dm:return-conditions>
<dm:return-condition>ALL</dm:return-condition>
</dm:return-conditions>
</dm:state>
<dm:state>
<dm:name>review</dm:name>
<dm:index>1</dm:index>
<dm:no>1</dm:no>
<dm:exceptional>false</dm:exceptional>
<dm:exception-state>fail</dm:exception-state>
<dm:allow-attach>false</dm:allow-attach>
<dm:allow-schedule>true</dm:allow-schedule>
<dm:allow-return-to-base>true</dm:allow-return-to-base>
<dm:allow-demote>true</dm:allow-demote>
<dm:return-conditions>
<dm:return-condition>CHECKIN</dm:return-condition>
<dm:return-condition>SAVE_AS_NEW</dm:return-condition>
<dm:return-condition>BRANCH</dm:return-condition>
</dm:return-conditions>
<dm:user-criteria-service>
<dm:name>lifecyclemodule</dm:name>
</dm:user-criteria-service>
<dm:user-action-service>
<dm:name>lifecyclemodule</dm:name>
</dm:user-action-service>
<dm:user-post-service>
<dm:name>lifecyclemodule</dm:name>
</dm:user-post-service>
</dm:state>
<dm:state>
<dm:name>publish</dm:name>
<dm:index>2</dm:index>
<dm:no>2</dm:no>
<dm:exceptional>false</dm:exceptional>
<dm:allow-attach>false</dm:allow-attach>
<dm:allow-schedule>true</dm:allow-schedule>
<dm:allow-return-to-base>true</dm:allow-return-to-base>
<dm:allow-demote>true</dm:allow-demote>
<dm:return-conditions>
<dm:return-condition>BRANCH</dm:return-condition>
</dm:return-conditions>
<dm:user-criteria-service>
<dm:name>lifecyclemodule</dm:name>
</dm:user-criteria-service>
<dm:user-action-service>
<dm:name>lifecyclemodule</dm:name>
</dm:user-action-service>
<dm:user-post-service>
<dm:name>lifecyclemodule</dm:name>
</dm:user-post-service>
</dm:state>
<dm:state>
<dm:name>fail</dm:name>
<dm:index>3</dm:index>
<dm:no>3</dm:no>
<dm:exceptional>true</dm:exceptional>
<dm:allow-attach>false</dm:allow-attach>
<dm:allow-schedule>true</dm:allow-schedule>
<dm:allow-return-to-base>false</dm:allow-return-to-base>
<dm:allow-demote>false</dm:allow-demote>
<dm:return-conditions>
<dm:return-condition>ALL</dm:return-condition>
</dm:return-conditions>
</dm:state>
</dm:states>
<dm:links>
<dm:link
href="http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfc"
rel="self"/>
<dm:link
href="http://localhost:8080/dctm-rest/repositories/REPO/users/
dmadmin"
rel="http://identifiers.emc.com/linkrel/owner"/>
<dm:link
href="http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_document"
rel="http://identifiers.emc.com/linkrel/type"
title="dm_document"/>
</dm:links>
</dm:lifecycle>
</content>
</entry>
</feed>
}
],
"updated" : "2017-05-03T02:15:25.000+00:00",
"published" : "2017-05-03T02:15:21.000+00:00",
"links" : [
{
"rel" : "edit",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/
lifecycles/
4600000580004dfb"
}
],
"content" : {
"id" : "4600000580004dfb",
"name" : "a_docbasic_lifecycle",
"owner" : "dmadmin",
"created" : "2017-05-03T02:15:21.000+00:00",
"modified" : "2017-05-03T02:15:25.000+00:00",
"implementation-type" : "DOCBASIC",
"version-labels" : [
"1.0",
"CURRENT"
],
"status" : "INSTALLED",
"type-inclusions" : [
{
"type" : "dm_document",
"include-subtypes" : true
}
],
"states" : [
{
"name" : "draft",
"index" : 0,
"no" : 0,
"exceptional" : false,
"allow-attach" : true,
"allow-schedule" : true,
"allow-return-to-base" : false,
"allow-demote" : false,
"return-conditions" : [
"ALL"
]
},
{
"name" : "review",
"index" : 1,
"no" : 1,
"exceptional" : false,
"exception-state" : "fail",
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : true,
"allow-demote" : true,
"return-conditions" : [
"CHECKIN",
"SAVE_AS_NEW",
"BRANCH"
],
"entry-criteria" : {
"id" : "550000058000093b"
},
"action" : {
"id" : "0800000580004e05"
}
},
{
"name" : "publish",
"index" : 2,
"no" : 2,
"exceptional" : false,
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : true,
"allow-demote" : true,
"return-conditions" : [
"BRANCH"
],
"entry-criteria" : {
"id" : "550000058000093c"
},
"action" : {
"id" : "0800000580004e06"
}
},
{
"name" : "fail",
"index" : 3,
"no" : 3,
"exceptional" : true,
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : false,
"allow-demote" : false,
"return-conditions" : [
"ALL"
]
}
],
"links" : [
{
"rel" : "self",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/
lifecycles/
4600000580004dfb"
},
{
"rel" : "http://identifiers.emc.com/linkrel/owner",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/users/
dmadmin"
},
{
"rel" : "http://identifiers.emc.com/linkrel/type",
"title" : "dm_document",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_document"
}
]
}
},
{
"id" : "http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000580004dfc",
"title" : "a_java_lifecycle",
"author" : [
{
"name" : "dmadmin",
"uri" : "http://localhost:8080/dctm-rest/repositories/REPO/users/
dmadmin"
}
],
"updated" : "2017-05-03T02:15:24.000+00:00",
"published" : "2017-05-03T02:15:22.000+00:00",
"links" : [
{
"rel" : "edit",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/
lifecycles/
4600000580004dfc"
}
],
"content" : {
"id" : "4600000580004dfc",
"name" : "a_java_lifecycle",
"owner" : "dmadmin",
"created" : "2017-05-03T02:15:22.000+00:00",
"modified" : "2017-05-03T02:15:24.000+00:00",
"implementation-type" : "JAVA",
"version-labels" : [
"1.0",
"CURRENT"
],
"status" : "INSTALLED",
"type-inclusions" : [
{
"type" : "dm_document",
"include-subtypes" : true
}
],
"user-validation-service" : {
"name" : "lifecyclemodule"
},
"states" : [
{
"name" : "draft",
"index" : 0,
"no" : 0,
"exceptional" : false,
"allow-attach" : true,
"allow-schedule" : true,
"allow-return-to-base" : false,
"allow-demote" : false,
"return-conditions" : [
"ALL"
]
},
{
"name" : "review",
"index" : 1,
"no" : 1,
"exceptional" : false,
"exception-state" : "fail",
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : true,
"allow-demote" : true,
"return-conditions" : [
"CHECKIN",
"SAVE_AS_NEW",
"BRANCH"
],
"user-criteria-service" : {
"name" : "lifecyclemodule"
},
"user-action-service" : {
"name" : "lifecyclemodule"
},
"user-post-service" : {
"name" : "lifecyclemodule"
}
},
{
"name" : "publish",
"index" : 2,
"no" : 2,
"exceptional" : false,
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : true,
"allow-demote" : true,
"return-conditions" : [
"BRANCH"
],
"user-criteria-service" : {
"name" : "lifecyclemodule"
},
"user-action-service" : {
"name" : "lifecyclemodule"
},
"user-post-service" : {
"name" : "lifecyclemodule"
}
},
{
"name" : "fail",
"index" : 3,
"no" : 3,
"exceptional" : true,
"allow-attach" : false,
"allow-schedule" : true,
"allow-return-to-base" : false,
"allow-demote" : false,
"return-conditions" : [
"ALL"
]
}
],
"links" : [
{
"rel" : "self",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/
lifecycles/
4600000580004dfc"
},
{
"rel" : "http://identifiers.emc.com/linkrel/owner",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/users/
dmadmin"
},
{
"rel" : "http://identifiers.emc.com/linkrel/type",
"title" : "dm_document",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_document"
}
]
}
}
]
}
See Also: “SysObject” on page 690 and About the Diagram on page 17.
2.38.2 Feed
Is this resource a feed? Yes.
2.38.4 Operations
2.38.4.1 Supported HTTP methods
Method Description
POST Creates a new lightweight object that shares
this shareable object
GET Retrieves all lightweight objects that share
this shareable object
Note: While creating the lightweight object, if a lightweight object modifies the
shared properties, then the lightweight object is materialized. This mechanism
of lightweight type is called as auto materialized.
One shared object can only be shared by one kind of lightweight type object at
the same time.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
{
"name":"object",
"type":"dm_sysobject",
"definition":"",
"properties":{
"object_name":"xyz",
"r_object_id":"090020808001398e",
...
}
"links":[
{ "rel":"self", "href":"objectResourceUri"},
...
]
}
GET
• inline
• items-per-page
• view
• include-total
• page
• sort
• filter
• links
• q
Note: The view, sort, and filter query parameters do not support the
properties of the shared parent.
The q parameter is supported for full text searching with a subset of the Simple
Search Language, however parenthesis are not supported.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/
dave</uri>
</author>
<summary>my_lightweight_object 0800000580005d9a</summary>
<updated>2015-12-28T07:00:24.000+00:00</updated>
<published>2015-12-28T07:00:24.000+00:00</published>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0800000580005d9a" rel="edit"/>
<content>
<dm:object definition="http://localhost:8080/dctm-rest/
repositories/REPO/
types/my_lightweight_object"
xmlns:dm="http://identifiers.emc.com/vocab/documentum"
xsi:type="my_lightweight_object">
<dm:properties>
<dm:object_name>new lightweight 29</dm:object_name>
<dm:i_sharing_parent>0800000580005381</dm:i_sharing_parent>
<dm:r_object_type>my_lightweight_object</dm:r_object_type>
<dm:r_page_cnt>0</dm:r_page_cnt>
<dm:r_object_id>0800000580005d9a</dm:r_object_id>
<dm:r_modify_date>2015-12-28T07:00:24.000+00:00
</dm:r_modify_date>
<dm:owner_name>dave</dm:owner_name>
<dm:creation-date>2015-12-28T07:00:24.000+00:00
</dm:creation-date>
</dm:properties>
<dm:links>
<link href="http://localhost:8080/dctm-rest/repositories/
REPO/
objects/0800000580005d9a" rel="self"/>
...
</dm:links>
</dm:object>
</content>
</entry>
</feed>
"entries" : [
{
"id" : "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0800000580005d9a",
"title" : "new lightweight 29",
"author" : [
{
"name" : "dave",
"uri" : "http://localhost:8080/dctm-rest/repositories/REPO/users/
dave"
}
],
"summary" : "my_lightweight_object 0800000580005d9a",
"updated" : "2015-12-28T07:00:24.000+00:00",
"published" : "2015-12-28T07:00:24.000+00:00",
"links" : [
{
"rel" : "edit",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0800000580005d9a"
}
],
"content" : {
"name" : "object",
"type" : "my_lightweight_object",
"definition" : "http://localhost:8080/dctm-rest/repositories/REPO/
types/
my_lightweight_object",
"properties" : {
"object_name" : "new lightweight 29",
"i_sharing_parent" : "0800000580005381",
"r_object_type" : "my_lightweight_object",
"r_page_cnt" : 0,
"r_object_id" : "0800000580005d9a",
"r_modify_date" : "2015-12-28T07:00:24.000+00:00",
"owner_name" : "dave",
"creation-date" : "2015-12-28T07:00:24.000+00:00"
},
"links" : [
{
"rel" : "self",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/
objects/
0800000580005d9a"
},
...
]
}
}
]
}
See Also: “SysObject” on page 690 and About the Diagram on page 17.
2.39.2 Feed
No feed support.
2.39.4 Operations
2.39.4.1 Supported HTTP methods
Method Description
GET Retrieves the lightweight parent shareable
object
POST Reassign the parent to another shareable
object
GET
• view
• links
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
{
"href":"http://localhost/dctm-rest/repositories/acme/objects/xxxxx"
}
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
{
"name":"document",
"type":"shareable_type",
"definition":"<documentResourceUri>",
"properties":{
"object_name":"xyz",
"r_object_id":"090020808001398e",
...
}
"links":[
{ "rel":"self", "href":"<documentResourceUri>"},
...
]
}
2.40.1 Feed
No feed support.
See Also: “SysObject” on page 690 and About the Diagram on page 17.
2.40.4 Operations
2.40.4.1 Supported HTTP methods
Method Description
PUT Materialize the lightweight object
DELETE Dematerialize the lightweight object
PUT
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
DELETE
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
2.41 Lock
The Lock resource represents a lock of the SysObject.
See Also: “SysObject” on page 690 and About the Diagram on page 17.
2.41.2 Feed
No feed support.
2.41.4 Operations
2.41.4.1 Supported HTTP methods
Method Description
PUT Checks out a SysObject.
DELETE Cancels a check-out operation on a SysObject.
PUT
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
DELETE
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Accept
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
HTTP 204 No Content status upon a successful unlock operation. The Response body
contains no content.
2.42 Module(s)
2.42.1 Module
The Module resource represents an object instance of a module.
See Also: “SysObject” on page 690 and About the Diagram on page 17.
2.42.1.2 Feed
No feed support.
2.42.1.4 Operations
2.42.1.4.1 Supported HTTP methods
Method Description
GET Retrieves an instance of a givenModule.
POST Updates an instance of a given Module.
Using the specified module id, this method retrieves the specified Module instance
details.
GET
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• application/atom+xml
• application/vnd.emc.documentum+json
...
{
"name": "module",
"id": "PRM",
"description": "Physical Records Management provides functions to model
physical objects in Documentum and also provides library
services.",
"status": "enabled",
"moduleName": "Physical Records Manager",
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/documentum2/modules/pRM"
}
]
}
Accept: application/vnd.emc.documentum+json
GET http://localhost/dctm-rest/repositories/documentum2/modules/RPS
{
"name": "module",
"id": "RPS",
"description": "Automates policy-based storage and archival of content.",
"status": "disabled",
"moduleName": "Retension Policy Services",
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/documentum2/
modules/rps"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/documentum2/
modules/RPS"
}
]
}
Update the module status to the enabled state by providing the valid license key.
When the client provides a valid license key in the Request body, the status of the
module is updated to the enabled state. When the client provides an invalid license
key in the Request body, the server throws an exception. In this case, the user is not
authorized to disable the module.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Accept
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
Module instance in XML or JSON representation. Only the use of the licensekey
attribute is allowed the message body.
{
"licensekey":"value1"
}
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
...
{
"name": "module",
"id": "PRM",
"description": "Physical Records Management provides functions to model
physical objects in Documentum and also provides library
services.",
"status": "enabled",
"moduleName": "Physical Records Manager",
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/documentum2/
modules/pRM"
}
]
}
POST http://10.37.10.116:8080/dctm-rest/repositories/acme01/modules/FRS
Accept:application/vnd.emc.documentum+json
Content-Type:application/vnd.emc.documentum+xml
Authorization:Basic ZG1hZG1pbjpwYXNzd29yZA==
{
"license_key":"HKLMPOST"
}
{
"name": "module",
"id": "PRM",
"description": "Physical Records Management provides functions to model
physical objects in Documentum and also provides library
services.",
"status": "enabled",
"moduleName": "Physical Records Manager",
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/documentum2/
modules/pRM"
}
]
}
2.42.2 Modules
The Modules collection resource represents a collection of licensed modules in a
repository.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.42.2.2 Feed
Is this resource a feed? Yes.
2.42.2.4 Operations
2.42.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a collection of licensed modules in
a repository.
false - Does
not return
anything.
links Determines boolean true or true
whether a false
link relation
is returned true - The
for this object default value.
representatio
n. false -
means "do
not send me
any links that
are expensive
to calculate,
but it is fine if
you send me
ones that are
cheap"
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Content-Type
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• Content-Length
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
1
2
3 Accept: application/vnd.emc.documentum+json
4
5 GET http://localhost/dctm-rest/repositories/documentum1/modules?inline=true
1
2
3 Status Code: 200 OK
4 Content - Type: application / vnd.emc.documentum + json;
5 charset = UTF - 8
6 Date: Tue, 16 Oct 2012 01: 27: 01 GMT
7 Server: Apache - Coyote / 1.1
8 Transfer - Encoding: chunked
9
10 {
11 "id": "http://localhost:8080/dctm-rest/repositories/documentum1/modules",
12 "title": "Modules",
13 "author": [
14 {
15 "name": "Open Text Documentum"
16 }
17 ],
18 "updated": "2020-02-04T09:35:39.361+00:00",
19 "page": 1,
20 "items-per-page": 1000,
21 "total": 5,
22 "links": [
23 {
24 "rel": "self",
25 "href": "http://localhost:8080/dctm-rest/repositories/documentum1/
26 modules?inline=true"
27 }
28 ],
29 "entries": [
30 {
31 "id": "http://localhost:8080/dctm-rest/repositories/documentum1/modules/
32 RM",
33 "title": "Records Manager",
34 "summary": "Enable the capability for clients to declare formal records
35 and create relationships among these records.Allows
36 administrators to configure and apply policies to create
37 their own file plans.
38 Requires RPS to also be licensed. - Enabled",
39 "updated": "2020-02-04T09:35:39.363+00:00",
40 "published": "2020-02-04T09:35:39.363+00:00",
41 "links": [
42 {
43 "rel": "edit",
44 "href": "http://localhost:8080/dctm-rest/repositories/documentum1/
45 modules/RM"
46 }
47 ],
48 "content": {
49 "name": "module",
50 "id": "RM",
51 "description": "Enable the capability for clients to declare formal
52 records and create relationships among these records.
53 Allows administrators to configure and apply policies
54 to create their own file plans.Requires RPS to also
55 be licensed.",
56 "status": "enabled",
57 "moduleName": "Records Manager",
58 "links": [
59 {
60 "rel": "self",
61 "href": "http://localhost:8080/dctm-rest/repositories/
62 documentum1/modules/RM"
63 }
64 ]
65 }
66 },
67 {
68 "id": "http://localhost:8080/dctm-rest/repositories/documentum1/modules/
69 RPS",
70 "title": "Retension Policy Services",
71 "summary": "Automates policy-based storage and archival of
72 content. - Enabled",
73 "updated": "2020-02-04T09:35:39.363+00:00",
74 "published": "2020-02-04T09:35:39.363+00:00",
75 "links": [
76 {
77 "rel": "edit",
78 "href": "http://localhost:8080/dctm-rest/repositories/documentum1/
79 modules/RPS"
80 }
81 ],
82 "content": {
83 "name": "module",
84 "id": "RPS",
85 "description": "Automates policy-based storage and archival of
86 content.",
87 "status": "enabled",
88 "moduleName": "Retension Policy Services",
89 "links": [
90 {
91 "rel": "self",
92 "href": "http://localhost:8080/dctm-rest/repositories/
93 documentum1/modules/RPS"
94 }
95 ]
96 }
97 },
98 {
99 "id": "http://localhost:8080/dctm-rest/repositories/documentum1/modules/
100 PRM",
101 "title": "Physical Records Manager",
102 "summary": "Physical Records Management provides functions to model
103 physical objects in Documentum and also provides library
104 services. - Enabled",
105 "updated": "2020-02-04T09:35:39.363+00:00",
106 "published": "2020-02-04T09:35:39.363+00:00",
107 "links": [
108 {
109 "rel": "edit",
110 "href": "http://localhost:8080/dctm-rest/repositories/documentum1/
111 modules/PRM"
112 }
113 ],
114 "content": {
115 "name": "module",
116 "id": "PRM",
117 "description": "Physical Records Management provides functions to
118 model physical objects in Documentum and also
119 provides library services.",
120 "status": "enabled",
121 "moduleName": "Physical Records Manager",
122 "links": [
123 {
124 "rel": "self",
125 "href": "http://localhost:8080/dctm-rest/repositories/
126 documentum1/modules/PRM"
127 }
128 ]
129 }
130 },
131 {
132 "id": "http://localhost:8080/dctm-rest/repositories/documentum1/modules/
133 FRS",
134 "title": "Federated Record Services",
135 "summary": "Manages records, valuable and discoverable corporate assets,
136 across the enterprise or multiple repositories. - Enabled",
137 "updated": "2020-02-04T09:35:39.364+00:00",
138 "published": "2020-02-04T09:35:39.364+00:00",
139 "links": [
140 {
141 "rel": "edit",
142 "href": "http://localhost:8080/dctm-rest/repositories/documentum1/
143 modules/FRS"
144 }
145 ],
146 "content": {
147 "name": "module",
148 "id": "FRS",
149 "description": "Manages records, valuable and discoverable corporate
150 assets, across the enterprise or multiple
151 repositories.",
152 "status": "enabled",
See Also: “Home Document” on page 331 and About the Diagram on page 17.
2.43.2 Feed
This resource is a feed that wraps the search results returned from all repositories
that were specified by the client in the search criteria. Each entry represents an object
within one of the repositories.
2.43.4 Operations
2.43.4.1 Result range
This resource does not use any pagination parameters, such as page and items-per-
page, to determine the range of the search in the way that the Single Search
Repository resource does. Instead, the start and limit URI parameters are used to
define the range of the search for each repository separately. For example, if you
have REPO1 and REPO2 (assuming that they produce a sufficient number of search
results), and you use the start=1&limit=10 URI parameters for each of those
repositories. Using these URI parameters returns a total of 20 search results in the
Response. In this case, there are 10 results from REPO1 and 10 results from REPO2 that
are returned in the Response.
Method Description
GET Use URI parameters to search across many
repositories
POST Use AQL and URI parameters to search
across many repositories
If some of the repositories change, the cached repository names will become obsolete
after a certain amount of time. Detailed cache properties can be found and
customized (by overriding the default ones) in the rest-api-common-ehcache.xml
file, which is located at <dctm-rest.war>/WEB-INF/classes/.
This resource uses the GET HTTP method and the following URI parameters. Most
URI parameters have the same usage as those of the Search resource. However,
some URI parameters are not supported.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
{
"id": "http://localhost:8080/dctm-rest/search",
"author": [{
"name": "Administrator"
}
],
"summary": "Manage Document Versions in REST Services This doc
shows a series of JSON message samples to do
versioning in Documentum REST Services. Get a document
resource Assumed that you get a document resource.
GET http://localhost:8080/dctm-rest/repositories/rep",
"updated": "2018-11-09T12:52:14.000+00:00",
"score": "0.5375551581382751",
"terms": [
"java"
],
"source": "REPO1",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/
objects/0900000280001629.hal"
}
}
}
]
},
"_links": {
"search": {
"href": "http://localhost:8080/dctm-rest/search.hal{?collections,
facet,include-total,inline,limit,locations,object-type,q,
start,timezone,view}",
"templated": true
},
"self": {
"href": "http://localhost:8080/dctm-rest/search.hal?q=java"
}
}
}
Many URI parameters are not supported because their functions are covered in
AQL. The following table shows more details:
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
For more information, see Appendix E, AQL on page 991 for a complete definition.
When working with this resource, please note the following items:
• The repositories element specified in the AQL defines the scope of the
searching procedure.
• Repository names are validated before the search begins. An error message is
shown when an invalid repository name is specified.
• When the repositories element is not provided, then by default all repositories
are searched.
<search xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<types>
<type>dm_document</type>
</types>
<repositories>
<repository>REPO8</repository>
<repository>REPO1</repository>
</repositories>
<expression-set operator="AND">
<expressions>
<fulltext>REST</fulltext>
<property name="object_name" operator="BEGINS_WITH">Doc</property>
<property-list name="owner_name" operator="IN">
<values>
<value>Administrator</value>
</values>
</property-list>
<property-range name="r_full_content_size" operator="BETWEEN">
<from>130000</from>
<to>900000</to>
</property-range>
</expressions>
</expression-set>
</search>
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
The Response body is the same as the one shown for the GET method above.
0c00000280002104.xml"/>
<relevance:score xmlns:relevance="http://a9.com/-/opensearch/extensions/
relevance/1.0/">1.0</relevance:score>
<dm:source xmlns:dm="http://identifiers.emc.com/vocab/documentum">REPO1
</dm:source>
</entry>
</feed>
}
]
}
2.43.5 Authentication
This section describes the authentication modes used for this resource and some
important details.
• Retrieve a global DFC session from the Global Registry Repository of Content
Server to use for all subsequent search operations.
• Provide authentication information for every target repository.
• Every repository including the global registry repository must have a user that
has the same username. Further, when the underlying authentication scheme
requests a password, then this user must also have the same password.
• When the credentials provided are only valid for just one repository (or for just
part of all of the specified repositories), then the REST server will throw an
authentication error and no results will be returned.
• Http Basic('basic')
• Client Token('ct-basic')
• OTDS
– otds_password
– otds_token
– ct-otds_password
– ct-otds_token
– otds_token-basic
– ct-otds_token-basic
Any authentication mode that has a ct- prefix uses REST CT (Client Token) and a
Content Server login ticket for authentication. When one of these authentication
modes are used to search repositories, every repository being searched must be
configured to trust other repositories, at minimum they must be configured to trust
the global registry repository. Also, all repositories being searched must allow the
use of a global login ticket, which must have the same Login Ticket Key (LTK), from
another repository in order to insure that the global login ticket works.
For more information, see the OpenText Documentum Server Fundamentals Guide.
A global user must exist, or be created, in every repository before that global user
can be used with an OTDS related authentication mode to login. The global user
must be able to access every repository in OTDS. Therefore, an SSO (Single Sign On)
access token, which can be used for a Multiple Repository Search and other single
repository resources, is issued to the global user.
See Also: “Network Locations” on page 446 and About the Diagram on page 17.
2.44.1.2 Feed
No feed support.
2.44.1.4 Operations
2.44.1.4.1 Supported HTTP methods
Method Description
GET Retrieves the metadata of a network location
(an instance of dm_network_location_
map) in the repository.
GET
• view
• links
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.44.2.2 Feed
Is this resource a feed? Yes.
2.44.2.4 Operations
2.44.2.4.1 Supported HTTP methods
Method Description
GET Retrieves the metadata of a collection of
network locations (instances of dm_
network_location_map) in the
repository.
GET
• sort
• view
• inline
• page
• items-per-page
• include-total
• filter
• links
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
See Also: “Object Aspects” on page 451 and About the Diagram on page 17.
2.45.1.3 Operations
2.45.1.3.1 Supported HTTP methods
Method Description
DELETE Detach an aspect from an object
DELETE
None.
• Authorization
For more details about HTTP headers, see Appendix D, REST Common Definition -
HTTP Headers on page 987.
None.
None.
None.
HTTP 204 No Content status upon a successful detach operation. The response body
contains no content.
See Also: “SysObject” on page 690, “Document” on page 217, “Folder” on page 236,
“Cabinet” on page 137, and About the Diagram on page 17.
2.45.2.2 Feed
No feed support.
2.45.2.4 Operations
2.45.2.4.1 Supported HTTP methods
Method Description
GET GET all aspects attached to a SysObject
POST Attach one or more aspects to a SysObject
GET
• links
For more details about the query parameters, see Appendix B, REST Common
Definition - URI Request Query Parameters on page 979.
None.
• Accept
• Authorization
For more details about HTTP headers, see Appendix D, REST Common Definition -
HTTP Headers on page 987.
None.
• Content-Type
For more details about HTTP headers, see Appendix D, REST Common Definition -
HTTP Headers on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json (For compatible viewing
XML or JSON representation of the aspects attached to the SysObject. The response
body mainly contains two parts:
• The first part is a set of aspect elements, each of which represents an aspect
attached to the SysObject.
• The second part is the links block. Each attached aspect has two related links:
XML representation
<?xml version="1.0" encoding="UTF-8"?>
<object-aspects xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<aspect>my_aspect_1</aspect>
<aspect>dm_checkin_control</aspect>
<aspect>dm_version_behavior</aspect>
<links>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002523/aspects" rel="self"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002523/aspects/my_aspect_1"
rel="http://identifiers.emc.com/linkrel/delete"
title="my_aspect_1"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/aspect-
types/my_aspect_1"
rel="http://identifiers.emc.com/linkrel/aspect-type"
title="my_aspect_1"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002523/
aspects/dm_checkin_control"
rel="http://identifiers.emc.com/linkrel/delete"
title="dm_checkin_control"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/aspect-
types/dm_checkin_control"
rel="http://identifiers.emc.com/linkrel/aspect-type"
title="dm_checkin_control"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002523/
aspects/dm_version_behavior"
rel="http://identifiers.emc.com/linkrel/delete"
title="dm_version_behavior"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/aspect-
types
/dm_version_behavior"
rel="http://identifiers.emc.com/linkrel/aspect-type"
title="dm_version_behavior"/>
</links>
</object-aspects>
JSON representation
{
"aspects" : [
"my_aspect_1",
"dm_checkin_control",
"dm_version_behavior"
],
"links" : [
{
"rel" : "self",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002523/aspects"
},
{
"rel" : "http://identifiers.emc.com/linkrel/delete",
"title" : "my_aspect_1",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002523/
aspects/my_aspect_1"
},
{
"rel" : "http://identifiers.emc.com/linkrel/aspect-type",
"title" : "my_aspect_1",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/aspect-types/
my_aspect_1"
},
{
"rel" : "http://identifiers.emc.com/linkrel/delete",
"title" : "dm_checkin_control",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002523/
aspects/ dm_checkin_control"
},
{
"rel" : "http://identifiers.emc.com/linkrel/aspect-type",
"title" : "dm_checkin_control",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/aspect-types/
dm_checkin_control"
},
{
"rel" : "http://identifiers.emc.com/linkrel/delete",
"title" : "dm_version_behavior",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002523/
aspects/dm_version_behavior"
},
{
"rel" : "http://identifiers.emc.com/linkrel/aspect-type",
"title" : "dm_version_behavior",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/aspect-types/
dm_version_behavior"
}
]
}
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Content-Type
• Accept
For more details about HTTP headers, see Appendix D, REST Common Definition -
HTTP Headers on page 987.
To attach aspects to a SysObject, specify the aspect type names in the request body.
XML representation
POST http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002523/aspects
Accept: application/vnd.emc.documentum+xml
Content-Type: application/vnd.emc.documentum+xml
<object-aspects xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<aspect>my_aspect_1</aspect>
<aspect>dm_checkin_control</aspect>
<aspect>dm_version_behavior</aspect>
</object-aspects>
JSON representation
POST http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002523/aspects
Accept: application/vnd.emc.documentum+json
Content-Type: application/vnd.emc.documentum+json{
"aspects":[
"my_aspect_1", "dm_checkin_control", "dm_version_behavior"
]
}
• Content-Type
For more details about HTTP headers, see Appendix D, REST Common Definition -
HTTP Headers on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xmlPalermo
• application/json
<aspect_name>.<property_name>
You can update the aspect properties in the same way as other common object
properties.
See Also: “SysObject” on page 690 and About the Diagrams on page 17.
2.46.2 Feed
No feed support.
2.46.4 Operations
Method Description
GET Retrieves the Lifecycle status of the object that is currently attached.
PUT Attach a Lifecycle to the object.
DELETE Detach a Lifecycle from the object that is currently attached.
GET
• links
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
090000018000117c/
lifecycle/suspension.xml"/>
<link rel="http://identifiers.emc.com/linkrel/cancel-promotion"
title="2020-01-01T12:00:00.000+00:00"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/promotion.xml?
schedule=2020-01-01T12:00:00.000%2B00:00"/>
</links>
</object-lifecycle>
},
{
"rel": "http://identifiers.emc.com/linkrel/suspension",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/suspension"
},
{
"rel": "http://identifiers.emc.com/linkrel/cancel-promotion",
"title": "2020-01-01T12:00:00.000+00:00",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/promotion?schedule=2020-01-01T12:00:00.000%2B00:00"
}
]
}
PUT
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
<object-lifecycle>
<lifecycle-id>XXX</lifecycle-id>
<current-state>XXX</current-state>
<aliasset-name>XXX</aliasset-name>
</object-lifecycle>
Query parameters
• The aliasset-name parameter specifies the name of an alias set. The aliasset-
name parameter must contain a valid alias name, which must be defined in the
Lifecycle.
Note: The request body is optional and empty when none of the above three
parameters are defined.
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
The response body is the same as the one shown in the GET an Object Lifecycle
samples.
{
"lifecycle-id": "4600000180001165",
"lifecycle-name": "lifecycle-for-doc",
"current-state": "review",
"previous-state": "draft",
"next-state": "publish",
"able-to-promote": true,
"able-to-demote": true,
"able-to-suspend": true,
"able-to-resume": false,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle"
},
{
"rel": "http://identifiers.emc.com/linkrel/lifecycle",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000180001165"
},
{
"rel": "parent",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c"
},
{
"rel": "http://identifiers.emc.com/linkrel/promotion",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/promotion"
},
{
"rel": "http://identifiers.emc.com/linkrel/demotion",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/demotion"
},
{
"rel": "http://identifiers.emc.com/linkrel/suspension",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/suspension"
}
]
}
DELETE
N/A
Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
Content-Type, etc.
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
See Also: “Object Lifecycle” on page 457 and About the Diagrams on page 17.
2.47.2 Feed
No feed support.
2.47.4 Operations
2.47.4.1 Supported HTTP methods
Method Description
PUT Move the object from a normal state back to the previous normal state
or back to its base state.
DELETE Cancel the scheduled demotion.
This
parameter is
ignored when
a value for
the
schedule
parameter
has been
provided. [1]
schedule When this datetime Any valid null
parameter is datetime
provided, the
demotion is
scheduled for
the time that
is set. [2]
[1] A scheduled demotion can only be made to the previous normal state. In this case, when
the schedule parameter has been set, the to-base parameter is ignored.
[2] To schedule a demotion, your user account must allow this action in its user privilege
and object permission constraints.
Caution
Any manual demote operation, where schedule=null, causes the
cancellation of all existing scheduled operations, regardless of whether the
operation succeeds or fails.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/demotion"
},
{
"rel": "http://identifiers.emc.com/linkrel/demotion",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/demotion"
},
{
"rel": "http://identifiers.emc.com/linkrel/suspension",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/suspension"
},
{
"rel": "http://identifiers.emc.com/linkrel/cancel-demotion",
"title": "2020-01-01T12:00:00.000+00:00",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/demotion?schedule=2020-01-01T12:00:00.000%2B00:00"
}
]
}
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
N/A
See Also: “Object Lifecycle” on page 457 and About the Diagrams on page 17.
2.48.2 Feed
No feed support.
2.48.4 Operations
2.48.4.1 Supported HTTP methods
Method Description
PUT Move the object from one normal state to the next normal state.
DELETE Cancel the scheduled promotion.
[2] To schedule a promotion, your user account must allow this action in its user privilege
and object permission constraints.
Caution
Any manual promote operation, where schedule=null and trial=false,
causes the cancellation of all existing scheduled operations, regardless of
whether the operation succeeds or fails.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<able-to-suspend>true</able-to-suspend>
<able-to-resume>false</able-to-resume>
<schedules>
<schedule action="promote" from="review" to="publish">
2020-01-01T12:00:00.000+00:00
</schedule>
</schedules>
<links>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/
REPO/objects/
090000018000117c/lifecycle.xml"/>
<link rel="http://identifiers.emc.com/linkrel/lifecycle"
href="http://localhost:8080/dctm-rest/repositories/REPO/
lifecycles/
4600000180001165.xml"/>
<link rel="parent" href="http://localhost:8080/dctm-rest/repositories/
REPO/
objects/090000018000117c.xml"/>
<link rel="http://identifiers.emc.com/linkrel/promotion"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/lifecycle/promotion.xml"/>
<link rel="http://identifiers.emc.com/linkrel/demotion"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/lifecycle/demotion.xml"/>
<link rel="http://identifiers.emc.com/linkrel/suspension"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/lifecycle/suspension.xml"/>
<link rel="http://identifiers.emc.com/linkrel/cancel-promotion"
title="2020-01-01T12:00:00.000+00:00"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/lifecycle/promotion.xml?
schedule=2020-01-01T12:00:00.000%2B00:00"/>
</links>
</object-lifecycle>
090000018000117c/
lifecycle"
},
{
"rel": "http://identifiers.emc.com/linkrel/lifecycle",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000180001165"
},
{
"rel": "parent",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c"
},
{
"rel": "http://identifiers.emc.com/linkrel/promotion",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/promotion"
},
{
"rel": "http://identifiers.emc.com/linkrel/demotion",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/demotion"
},
{
"rel": "http://identifiers.emc.com/linkrel/suspension",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/suspension"
},
{
"rel": "http://identifiers.emc.com/linkrel/cancel-promotion",
"title": "2020-01-01T12:00:00.000+00:00",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/promotion?schedule=2020-01-01T12:00:00.000%2B00:00"
}
]
}
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
N/A
See Also: “Object Lifecycle” on page 457 and About the Diagrams on page 17.
2.49.2 Feed
No feed support.
2.49.4 Operations
Method Description
PUT Move the object from an exception state back
to the normal state from which it was
suspended, or move it back to the base state.
DELETE Cancel the scheduled resumption.
[2] To schedule a resumption, your user account must allow this action in its user privilege
and object permission constraints.
Caution
Any manual resumption operation, where schedule=null and trial=
false, causes the cancellation of all existing scheduled operations,
regardless of whether the operation succeeds or fails.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
{
"lifecycle-id": "4600000180001165",
"lifecycle-name": "lifecycle-for-doc",
"current-state": "failed",
"resume-state": "draft",
"able-to-promote": false,
"able-to-demote": false,
"able-to-suspend": false,
"able-to-resume": true,
"schedules": [
{
"action": "resume",
"schedule": "2020-01-01T12:00:00.000+00:00",
"from": "failed"
}
],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle"
},
{
"rel": "http://identifiers.emc.com/linkrel/lifecycle",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/lifecycles/
4600000180001165"
},
{
"rel": "parent",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c"
},
{
"rel": "http://identifiers.emc.com/linkrel/resumption",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/lifecycle/resumption"
},
{
"rel": "http://identifiers.emc.com/linkrel/cancel-resumption",
"title": "2020-01-01T12:00:00.000+00:00",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/lifecycle/resumption?
schedule=2020-01-01T12:00:00.000%2B00:00"
}
]
}
N/A
Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
Content-Type, etc.
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
See Also: “Object Lifecycle” on page 457 and About the Diagrams on page 17.
2.50.2 Feed
No feed support.
2.50.4 Operations
2.50.4.1 Supported HTTP methods
Method Description
PUT Move the object from the current normal
state to the exception state.
DELETE Cancel the scheduled suspension.
[2] To schedule a suspension, your user account must allow this action in its user privilege
and object permission constraints.
Caution
Any manual suspension operation, where schedule=null and trial=
false, causes the cancellation of all existing scheduled operations,
regardless of whether the operation succeeds or fails.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c.xml"/>
<link rel="http://identifiers.emc.com/linkrel/promotion"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/lifecycle/promotion.xml"/>
<link rel="http://identifiers.emc.com/linkrel/demotion"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/lifecycle/demotion.xml"/>
<link rel="http://identifiers.emc.com/linkrel/suspension"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/lifecycle/suspension.xml"/>
<link rel="http://identifiers.emc.com/linkrel/cancel-suspension"
title="2020-01-01T12:00:00.000+00:00"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/lifecycle/suspension.xml?
schedule=2020-01-01T12:00:00.000%2B00:00"/>
</links>
</object-lifecycle>
lifecycle/promotion"
},
{
"rel": "http://identifiers.emc.com/linkrel/demotion",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/demotion"
},
{
"rel": "http://identifiers.emc.com/linkrel/suspension",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/suspension"
},
{
"rel": "http://identifiers.emc.com/linkrel/cancel-suspension",
"title": "2020-01-01T12:00:00.000+00:00",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000018000117c/
lifecycle/suspension?schedule=2020-01-01T12:00:00.000%2B00:00"
}
]
}
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
N/A
See Also: “Parent Links” on page 496 and About the Diagram on page 17.
2.51.1.2 Feed
No feed support.
2.51.1.4 Operations
2.51.1.4.1 Supported HTTP methods
Method Description
GET Retrieves the folder link between the child
object and its parent folder.
PUT Moves an object from a source folder into a
destination folder.
DELETE Unlinks an object from one of its parent
folders.
Retrieve the folder link between the child object and its parent folder.
GET
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the folder link between the object and its parent
folder. The body contains the URI for the object and the URI for its parent folder.
The body also contains the parent ID and child ID.
Notes
• If the object is a folder, this operation also moves the objects under that
folder to the destination folder.
• A cabinet object is not allowed to be moved.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
XML or JSON representation of the folder link between the object and the
destination folder. The response contains the URI of the new destination folder.
JSON request
Accept: application/vnd.emc.documentum+json
PUT http://localhost:8080/dctm-rest/repositories/repo/objects/0900000c80000cc4/
parent-links/0b0004d280002732
{
"href": "http://localhost:8080/dctm-rest/repositories/repo/folders/
0b0004d28000ad36"
}
JSON response
{
"child": "http://localhost:8080/dctm-rest/repositories/repo/objects/
0900000c80000cc4",
"parent": "http://localhost:8080/dctm-rest/repositories/repo/folders/
0b0004d28000ad36",
"links":
[
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
0900000c80000cc4/
parent-links/0b0004d28000ad36"
}
]
}
Notes
• To unlink an object from a primary link, you must have at least the write
permission and the change location permission on the object.
• To unlink an object from a secondary link, you must have at least the browse
permission and the change location permission on the object.
• If the repository is running under folder security, you must also have at least
the write permission on the folder or cabinet from which the object is being
unlinked.
• Documents and folders must have at least one link to a folder or cabinet.
Therefore, you cannot unlink an object from its only linked folder or cabinet.
DELETE
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
HTTP 204 No Content status upon a successful unlink operation. The response body
contains no content.
See Also: “SysObject” on page 690 and About the Diagram on page 17.
2.51.2.2 Feed
Is this resource a feed? Yes.
2.51.2.4 Operations
2.51.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a collection of parent links for an
object.
POST Links an object to a new parent folder.
Note: For a cabinet, the parent links collection is empty because a cabinet does
not have a parent folder.
GET
• inline
• page
• items-per-page
• include-total
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
XML or JSON representation of a collection parent links for the given object.
• The body contains a list of links between the given object and each of its parent
folders.
• Each link contains the URI for the given object and the URI for one of its parent
folders.
• Each entry contains the parent ID and the child ID.
• Each entry in the collection has a self link referring to the link resource.
• Pagination is supported.
The first execution of link on an object defines the object's primary link, which is the
place where the object is stored in the repository. Subsequent executions of link
associate the object to other folders or cabinets. These links are called secondary
links. This operation only allows you to create a new secondary link for an object.
The existing folder links for this object do not change. For more information about
how to create primary link during the object creation, see “Folder Child Objects”
on page 285.
To create a secondary link, you have at least the browse permission and the change
location permission on the object. If the repository is running under folder security,
you must also have at least the write permission on the folder or cabinet to which
the object is linked.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• Location
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of newly-created link between the given object and its
new parent folder.
2.52 Permissions
The Permissions resource allows a specified user to get basic and extended
permissions for a specific accessor on a SysObject. When no accessor is specified,
the default accessor is the user that is currently logged into the system.
2.52.2 Feed
No feed support.
2.52.4 Operations
2.52.4.1 Supported HTTP methods
Method Description
GET GET a specified accessor’s basic and
extended permissions on a certain object
This
parameter is
not
mandatory.
The server
returns the
current login
user's
permissions
by default.
The server
returns the
system
default
permissions
on this object
when an
unknown
accessor
(user) is
provided by
the client.
N/A
• Authorization
• Accept
• For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987
N/A
• Content-Type
• For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
GET http://localhost:8080/dctm-rest/repositories/
REPO/objects/0900000580002507/permissions?accessor=dave
Authorization: Basic ZG1hZG1pbjpwYXNzd29yZA==
Accept: application/vnd.emc.documentum+xml
Content-Type: application/vnd.emc.documentum+xml
<?xml version='1.0' encoding='UTF-8'?>
<permission
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" accessor="dave"
basic-permission="Relate" extend-
permissions="EXECUTE_PROC,CHANGE_LOCATION">
<links>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/
REPO/
objects/0900000580002507/permissions?accessor=dave"/>
</links>
</permission>
Content-Type: application/vnd.emc.documentum+json
{
"accessor": "dave",
"basic-permission": "Relate",
"extend-permissions": "EXECUTE_PROC,CHANGE_LOCATION",
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002507/permissions?accessor=dave"
}
]
}
A permission set contains the following four sections that manage the access control
of an object by using various aspects:
• permitted: This access level defines a set of users who are permitted to access the
object.
• restricted: This access level defines a set of users who have restricted access to the
object.
• required group: This access level requires that the user requesting access to the
object must be a member of the group identified in the entry. If more than one
group is defined in this section, the user requesting access to the object must be a
member of all the groups defined.
• required group set: This access level requires that the user requesting access to the
object be a member of at least one group in the set of groups defined.
See Also: “SysObject” on page 690 and About the Diagram on page 17.
2.53.2 Feed
No feed support.
2.53.4 Operations
2.53.4.1 Supported HTTP methods
Method Description
GET GET a permission set
PUT Update a permission set
GET
• links
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
Content-Type: application/vnd.emc.documentum+xml
<?xml version='1.0' encoding='UTF-8'?>
<permission-set
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<permitted>
<permission accessor="dm_world" basic-permission="Read"
extend-permissions="EXECUTE_PROC,CHANGE_LOCATION"/>
<permission accessor="dm_owner" basic-permission="Delete"
extend-permissions="EXECUTE_PROC,CHANGE_LOCATION"/>
......
</permitted>
<restricted>
<permission accessor="docu" basic-permission="Version"/>
......
</restricted>
<required-group>
<group>{group1}</group>
<group>{group2}</group>
......
</required-group>
<required-group-set>
<group>{group3}</group>
<group>{group4}</group>
......
</required-group-set>
<links>
<link rel="self" href="{permissionSetResourceUri}"/>
<link rel="edit" href="{permissionSetResourceUri}"/>
<link rel="http://identifiers.emc.com/linkrel/acl"
href="{aclResourceUri}"/>
</links>
</permission-set>
Content-Type: application/vnd.emc.documentum+json
{
"permitted": [
{
"accessor": "dm_world",
"basic-permission": "Read",
"extend-permissions": "EXECUTE_PROC,CHANGE_LOCATION"
},
{
"accessor": "dm_owner",
"basic-permission": "Delete",
"extend-permissions": "EXECUTE_PROC,CHANGE_LOCATION"
},
......
],
"restricted": [
{
"accessor": "docu",
"basic-permission": "Version"
}
......
],
"required-group": [
"{group1}",
"{group2}"
......
],
"required-group-set": [
"{group3}",
"{group4}"
......
],
"links": [
{
"rel": "self",
"href": "{permissionSetResourceUri}"
},
{
"rel": "edit",
"href": "{permissionSetResourceUri}"
},
{
"rel": "http://identifiers.emc.com/linkrel/acl",
"href": "{aclResourceUri}"
}
]
}
• grant or revoke a specific access level, or edit the existing access level for a user
requesting access to the object (corresponding to add/delete/edit a user
permission in the <permitted> attribute)
• add or remove a specific restricted level or edit the existing restricted level for a
certain user that is requesting access to the object (corresponding to add/delete/
edit a user permission in restricted attribute)
• add or remove a membership constraint to or from the user requesting access to
the object (corresponding to add/delete a group in required-group or
required-group-set attribute)
When the object permission set is updated, a newly created ACL is assigned to the
specified object.
There are two built-in accessors: dm_world and dm_owner. Regardless of whether or
not the REST client has specified any access level for dm_world or dm_owner.
Documentum Server automatically grants users default permissions for the
permission set.
The default basic and extended permission levels for these two users are defined in
the <default_acl> property of the server configuration object.
When updating a permission set, you must provide a complete permission set object
in the Request body, rather than specifying only the part you want to update. When
any property is null or empty, the property's value will be reset to null.
A permission set object may contain a list of user permissions. A user permission is
made up of an accessor, a basic-permission, extend-permissions, and application-
permission. The following table shows permission set and user permission object
attributes:
PUT
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
<permission-set
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<permitted>
<permission accessor="dm_world" basic-permission="Read"
extend-permissions="EXECUTE_PROC,CHANGE_LOCATION"/>
<permission accessor="dm_owner" basic-permission="Write"
extend-permissions="EXECUTE_PROC,CHANGE_LOCATION"/>
......
</permitted>
<restricted>
...
</restricted>
<required-group>
...
</required-group>
<required-group-set>
...
</required-group-set>
</permission-set>
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
application/xml
• application/vnd.emc.documentum+json
application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
Content-Type: application/vnd.emc.documentum+xml
<permission-set
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<permitted>
<permission accessor="dm_world" basic-permission="Read"
extend-permissions="EXECUTE_PROC,CHANGE_LOCATION"/>
<permission accessor="dm_owner" basic-permission="Write"
extend-permissions="EXECUTE_PROC,CHANGE_LOCATION"/>
......
</permitted>
<restricted>
...
</restricted>
<required-group>
...
</required-group>
<required-group-set>
...
</required-group-set>
<links>
<link rel="self" href="{permissionSetResourceUri}"/>
<link rel="edit" href="{permissionSetResourceUri}"/>
<link rel="http://identifiers.emc.com/linkrel/acl"
href="{aclResourceUri}"/>
</links>
</permission-set>
Content-Type: application/vnd.emc.documentum+json
{
"permitted": [
{
"accessor": "dm_world",
"basic-permission": "Read",
"extend-permissions": "EXECUTE_PROC,CHANGE_LOCATION"
},
{
"accessor": "dm_owner",
"extend-permissions": "EXECUTE_PROC,CHANGE_LOCATION",
"basic-permission": "Write"
},
......
],
"restricted": [
......
],
"required-group": [
......
],
"required-group-set": [
......
],
"links": [
{
"rel": "self",
"href": "{permissionSetResourceUri}"
},
{
"rel": "edit",
"href": "{permissionSetResourceUri}"
},
{
"rel": "http://identifiers.emc.com/linkrel/acl",
"href": "{aclResourceUri}"
}
]
}
See Also: “Home Document” on page 331 and About the Diagram on page 17.
2.54.2 Feed
No feed support.
2.54.4 Operations
2.54.4.1 Supported HTTP methods
Method Description
GET Retrieves product information.
GET
N/A
• Accept
Note: The authorization header is not required when a client tries to get the
Product Information resource.
N/A
• Content-Type
• Content-Length
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
<product-info name="documentum-rest-services-product-info">
<properties>
<product>Documentum REST Services</product>
<product_version>7.3.xxx.yyy</product_version>
<major>7.3</major>
<minor>xxx</minor>
<build_number>yyy</build_number>
<revision_number>zzz</revision_number>
</properties>
<links>
<link rel="self" href=
"http://core-rs-demo.lss.emc.com:8080/dctm-rest/product-info" />
</links>
</product-info>
{
"name": "documentum-rest-services-product-info",
"properties": {
"product": "Documentum REST Services",
"product_version": "7.3.xxx.yyy",
"major": "7.3",
"minor": "xxx",
"build_number": "yyy",
"revision_number": "zzz"
},
"links": [
{
"rel": "self",
"href": "http://core-rs-demo.lss.emc.com:8080/dctm-rest/product-
info.json"
}
]
}
See Also: “Registered Audit Events” on page 522 and About the Diagram
on page 17.
2.55.1.2 Feed
No feed support.
2.55.1.4 Operations
2.55.1.4.1 Supported HTTP methods
N/A
• Authorization
• Accept
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
</links>
</audit-event>
N/A
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
N/A
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.55.2.2 Feed
Is this resource a feed? Yes.
2.55.2.4 Operations
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
registered-audit-events/2600000580000905</id>
<title>2600000580000905</title>
<author>
<name>auditadmin</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/
auditadmin</uri>
</author>
<summary>Detail of Registered Audit Event</summary>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/
registered-audit-events/2600000580000905"/>
<content>
<dm:audit-event xmlns:dm="http://identifiers.emc.com/vocab/
documentum"/>
</content>
</entry>
</feed>
}
],
"summary": "Detail of Registered Audit Event",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
registered-audit-events/2600000580000905"
}
],
"content": {
}
}
]
}
Caution
The object-id query parameter is mandatory when used as part of this
statement.<audit-scope=object>
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
registered-audit-events/2600000580000906"/>
</links>
</audit-event>
Notes
Caution
The object-id query parameter is mandatory when used as part of this
statement. <audit-scope=object>
N/A
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
N/A
Documentum Server audits some events by default. For more information, see
Appendix F, Events Audited by Default on page 1009.
2.56.1 Relation
The Relation resource represents a single relation instance in a repository.
See Also: “Relations” on page 536 and About the Diagram on page 17.
2.56.1.2 Feed
No feed support.
2.56.1.4 Operations
2.56.1.4.1 Supported HTTP methods
Method Description
GET Retrieves a specified relation.
DELETE Deletes a specified relation.
GET
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
DELETE
N/A
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
HTTP 204 No Content status upon a successful delete operation. The response body
contains no content.
2.56.2 Relations
The Relations resource represents a collection of relations in a repository.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.56.2.2 Feed
Is this resource a feed? Yes.
2.56.2.4 Operations
2.56.2.4.1 Supported HTTP methods
Method Description
GET Retrieves the information about a collection
of relations.
POST Create a new relation instance between two
objects.
• inline
• view
• items-per-page
• page
• include-total
• sort
• links
• filter
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• The body contains a list of the dm_relation instances (or subtypes of dm_
relation).
• Each object may contain all or a set of properties of the relation, depending on
the setting of the query parameter view.
• Pagination is supported.
See Also: “Document” on page 217 and About the Diagram on page 17.
2.57.2 Feed
Is this resource a feed? Yes.
2.57.4 Operations
2.57.4.1 Supported HTTP methods
Method Description
GET Retrieves the related documents of the
requested document.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• application/hal+json
</author>
<summary>dm_document 090000018000115a</summary>
<updated>2018-08-01T02:48:54.000+00:00</updated>
<published>2018-07-31T09:16:35.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115a"></link>
<content type="application/xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115a"></content>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/documents/
090000018000115d</id>
<title>Project-Manager</title>
<author>
<name>Administrator</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/
Administrator</uri>
</author>
<author>
<name>mary</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/
mary</uri>
</author>
<author>
<name>dave</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/
dave</uri>
</author>
<summary>dm_document 090000018000115d</summary>
<updated>2018-08-01T02:59:30.000+00:00</updated>
<published>2018-07-31T09:19:08.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115d"></link>
<content type="application/xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115d"></content>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/documents/
090000018000115b</id>
<title>Product-Manager</title>
<author>
<name>mary</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/
mary</uri>
</author>
<author>
<name>dave</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/
dave</uri>
</author>
<author>
<name>Administrator</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/
Administrator</uri>
</author>
<summary>dm_document 090000018000115b</summary>
<updated>2018-08-01T02:53:37.000+00:00</updated>
<published>2018-07-31T09:17:01.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115b"></link>
<content type="application/xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115b"></content>
</entry>
</feed>
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115d",
"title": "Project-Manager",
"author": [
{
"name": "Administrator",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/
users/Administrator"
},
{
"name": "mary",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/
users/mary"
},
{
"name": "dave",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/
users/dave"
}
],
"summary": "dm_document 090000018000115d",
"updated": "2018-08-01T02:59:30.000+00:00",
"published": "2018-07-31T09:19:08.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/documents/090000018000115d"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115d"
}
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115b",
"title": "Product-Manager",
"author": [
{
"name": "mary",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/
users/mary"
},
{
"name": "dave",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/
users/dave"
},
{
"name": "Administrator",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/
users/Administrator"
}
],
"summary": "dm_document 090000018000115b",
"updated": "2018-08-01T02:53:37.000+00:00",
"published": "2018-07-31T09:17:01.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/documents/090000018000115b"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115b"
}
}
]
}
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115a"
}
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115d",
"title": "Project-Manager",
"author": [
{
"name": "Administrator",
"uri": "http://localhost:8080/dctm-rest/repositories/
REPO/users/Administrator"
},
{
"name": "mary",
"uri": "http://localhost:8080/dctm-rest/repositories/
REPO/users/mary"
},
{
"name": "dave",
"uri": "http://localhost:8080/dctm-rest/repositories/
REPO/users/dave"
}
],
"summary": "dm_document 090000018000115d",
"updated": "2018-08-01T02:59:30.000+00:00",
"published": "2018-07-31T09:19:08.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/documents/090000018000115d"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115d"
}
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115b",
"title": "Product-Manager",
"author": [
{
"name": "mary",
"uri": "http://localhost:8080/dctm-rest/repositories/
REPO/users/mary"
},
{
"name": "dave",
"uri": "http://localhost:8080/dctm-rest/repositories/
REPO/users/dave"
},
{
"name": "Administrator",
"uri": "http://localhost:8080/dctm-rest/repositories/
REPO/users/Administrator"
}
],
See Also: “Document” on page 217 and About the Diagram on page 17.
2.58.2 Feed
Is this resource a feed? Yes.
2.58.4 Operations
2.58.4.1 Supported HTTP methods
Method Description
GET Retrieves the related SME of the requested
document.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• application/hal+json
<updated>2018-08-01T02:28:30.000+00:00</updated>
<published>2018-08-01T02:28:30.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/users/
dave"></link>
<content type="application/xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/users/
dave"></content>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/users/
Administrator</id>
<title>Administrator</title>
<summary></summary>
<updated>2018-07-31T03:56:09.000+00:00</updated>
<published>2018-07-31T03:56:09.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/users/
Administrator"></link>
<content type="application/xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/users/
Administrator"></content>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/users/mary</id>
<title>mary</title>
<summary></summary>
<updated>2018-08-01T02:30:03.000+00:00</updated>
<published>2018-08-01T02:30:03.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/users/
mary"></link>
<content type="application/xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/users/
mary"></content>
</entry>
</feed>
"entries": [
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/users/
dave",
"title": "dave",
"summary": "",
"updated": "2018-08-01T02:28:30.000+00:00",
"published": "2018-08-01T02:28:30.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/users/dave"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
users/dave"
}
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/users/
Administrator",
"title": "Administrator",
"summary": "",
"updated": "2018-07-31T03:56:09.000+00:00",
"published": "2018-07-31T03:56:09.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/users/Administrator"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
users/Administrator"
}
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/users/
mary",
"title": "mary",
"summary": "",
"updated": "2018-08-01T02:30:03.000+00:00",
"published": "2018-08-01T02:30:03.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/users/mary"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
users/mary"
}
}
]
}
},
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115c/related-sme"
}
}
}
See Also: “Relation Types” on page 556 and About the Diagram on page 17.
2.59.1.2 Feed
No feed support.
2.59.1.4 Operations
2.59.1.4.1 Supported HTTP methods
Method Description
GET Retrieves a specified Relation Type resource.
GET
• view
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.59.2.2 Feed
Is this resource a feed? Yes.
2.59.2.4 Operations
2.59.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a collection of Relation Type
instances.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
2.60 Repository
The Repository resource provides information about a single repository. This
resource requires authentication.
See Also: “Repositories” on page 571 and About the Diagram on page 17.
2.60.2 Feed
No feed support.
2.60.4 Operations
2.60.4.1 Supported HTTP methods
Method Description
GET Retrieves properties of the Repository resource.
N/A
• Accept
• Authorization
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
search{?
collections,facet,include-total,inline,items-per-
page,locations,
object-type,page,q,sort,timezone,view}" />
<link rel="http://identifiers.emc.com/linkrel/saved-searches"
href="http://localhost:8080/dctm-rest/repositories/REPO1/saved-
searches" />
<link rel="http://identifiers.emc.com/linkrel/search-templates"
href="http://localhost:8080/dctm-rest/repositories/REPO1/search-
templates" />
<link rel="http://identifiers.emc.com/linkrel/acls"
href="http://localhost:8080/dctm-rest/repositories/REPO1/acls" />
<link rel="http://identifiers.emc.com/linkrel/batches"
href="http://localhost:8080/dctm-rest/repositories/REPO1/batches" />
<link rel="http://identifiers.emc.com/linkrel/batch-capabilities"
href="http://localhost:8080/dctm-rest/repositories/REPO1/batch-
capabilities" />
<link rel="http://identifiers.emc.com/linkrel/lifecycles"
href="http://localhost:8080/dctm-rest/repositories/REPO1/
lifecycles" />
<link rel="http://identifiers.emc.com/linkrel/snapshots"
href="http://localhost:8080/dctm-rest/repositories/REPO1/snapshots" /
>
<link rel="http://identifiers.emc.com/linkrel/audit-policies"
href="http://localhost:8080/dctm-rest/repositories/REPO1/audit-
policies" />
</links>
</repository>
"rel": "http://identifiers.emc.com/linkrel/checked-out-objects",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/checked-
out-objects"
},
{
"rel": "http://identifiers.emc.com/linkrel/current-user",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/
currentuser"
},
{
"rel": "http://identifiers.emc.com/linkrel/current-user-preferences",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/
currentuser-preferences"
},
{
"rel": "http://identifiers.emc.com/linkrel/users",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/users"
},
{
"rel": "http://identifiers.emc.com/linkrel/groups",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/groups"
},
{
"rel": "http://identifiers.emc.com/linkrel/formats",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/formats"
},
{
"rel": "http://identifiers.emc.com/linkrel/network-locations",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/network-
locations"
},
{
"rel": "http://identifiers.emc.com/linkrel/relations",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/relations"
},
{
"rel": "http://identifiers.emc.com/linkrel/relation-types",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/relation-
types"
},
{
"rel": "http://identifiers.emc.com/linkrel/types",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/types"
},
{
"rel": "http://identifiers.emc.com/linkrel/aspect-types",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/aspect-
types"
},
{
"rel": "http://identifiers.emc.com/linkrel/dql",
"hreftemplate": "http://localhost:8080/dctm-rest/repositories/REPO1{?
dql}"
},
{
"rel": "http://identifiers.emc.com/linkrel/search",
"hreftemplate": "http://localhost:8080/dctm-rest/repositories/REPO1/
search{?
collections,facet,include-total,inline,items-per-
page,locations,
object-type,page,q,sort,timezone,view}"
},
{
"rel": "http://identifiers.emc.com/linkrel/saved-searches",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/saved-
searches"
},
{
"rel": "http://identifiers.emc.com/linkrel/search-templates",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/search-
templates"
},
{
"rel": "http://identifiers.emc.com/linkrel/acls",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/acls"
},
{
"rel": "http://identifiers.emc.com/linkrel/batches",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/batches"
},
{
"rel": "http://identifiers.emc.com/linkrel/batch-capabilities",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/batch-
capabilities"
},
{
"rel": "http://identifiers.emc.com/linkrel/lifecycles",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/lifecycles"
},
{
"rel": "http://identifiers.emc.com/linkrel/snapshots",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/snapshots"
},
{
"rel": "http://identifiers.emc.com/linkrel/audit-policies",
"href": "http://localhost:8080/dctm-rest/repositories/REPO1/audit-
policies"
}
]
}
Request
GET http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/acme01
Accept:application/vnd.emc.documentum+json
Response
Status Code: 200 OK
Content-Type: application/vnd.emc.documentum+json;charset=UTF-8
{
"id":1234,
"name":"acme01",
"servers":[
{
"name":"acme01",
"host":"CS70RC2_Main",
"version":"7.0.0000.0501 Win64.SQLServer",
"docbroker":"CS70RC2_Main"
}
],
"links":[
{
"rel":"self",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01"
},
{
"rel":"http://identifiers.emc.com/linkrel/users",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01/users"
},
{
"rel":"http://identifiers.emc.com/linkrel/current-user",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01/
currentuser"
},
{
"rel":"http://identifiers.emc.com/linkrel/groups",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01/groups"
},
{
"rel":"http://identifiers.emc.com/linkrel/cabinets",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01/cabinets"
},
{
"rel":"http://identifiers.emc.com/linkrel/formats",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01/formats"
},
{
"rel":"http://identifiers.emc.com/linkrel/network-locations",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01/
network-locations"
},
{
"rel":"http://identifiers.emc.com/linkrel/relations",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01/relations"
},
{
"rel":"http://identifiers.emc.com/linkrel/relation-types",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01/
relation-types"
},
{
"rel":"http://identifiers.emc.com/linkrel/checked-out-objects",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01/
checked-out-objects"
},
{
"rel":"http://identifiers.emc.com/linkrel/types",
"href":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/repositories/
acme01/types"
},
{
"rel":"http://identifiers.emc.com/linkrel/dql",
"hreftemplate":"http://core-rs-demo.lss.emc.com:8080/dctm-rest/
repositories/
acme01{?dql,page,items-per-page}"
}
]
}
2.61 Repositories
The Repositories resource represents a collection of available repositories
(including those that are not running).
See Also: “Home Document” on page 331 and About the Diagram on page 17.
2.61.2 Feed
Is this resource a feed? Yes.
• Supports POST: No
2.61.4 Operations
2.61.4.1 Supported HTTP methods
Method Description
GET Retrieves a collection of the repository
resources.
GET
• inline
• links
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
Note: The Authorization header is not needed when a client tries to get this
resource.
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987 .
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json (For compatible viewing
2.62.1.1 Feed
No feed support.
2.62.1.4 Operations
Method Description
GET Retrieves saved search
POST Updates the saved search
DELETE Removes the saved search
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985
<saved-search
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="dm_smart_list"
definition="http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_smart_list.xml">
<properties>
<object_name>search iig</object_name>
<title>this is saved search</title>
<creation-date>2016-03-10T01:38:44.000+00:00</creation-date>
<r_modify_date>2016-03-10T01:38:44.000+00:00</r_modify_date>
<r_modifier>Administrator</r_modifier>
<owner_name>Administrator</owner_name>
<r_is_public>true</r_is_public>
<selected_sources>
<item>REPO</item>
</selected_sources>
<has_results>false</has_results>
<results_count>-1</results_count>
<query_type>query_builder</query_type>
<r_object_id>080000018000157f</r_object_id>
</properties>
<query-document><?xml version='1.0' encoding='UTF-8'?><search
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" all-
versions="false"
include-hidden-objects="false"><repositories><repository
>REPO</repository></repositories><types><type
>dm_document</type></types>
<expression-set operator="AND"><expressions>
<fulltext fuzzy="true">iig</fulltext></expressions>
</expression-set><columns><column>r_object_type
</column><column>object_name</column>
<column>summary</column></columns></search>
</query-document>
<links>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/
REPO/
saved-searches/080000018000157f.xml"/>
<link rel="edit" href="http://localhost:8080/dctm-rest/repositories/
REPO/
saved-searches/080000018000157f.xml"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
080000018000157f.xml"/>
<link rel="http://identifiers.emc.com/linkrel/saved-search-results"
href="http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
080000018000157f/results.xml"/>
<link rel="http://identifiers.emc.com/linkrel/search-execution"
href="http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
080000018000157f/execution.xml"/>
<link rel="http://identifiers.emc.com/linkrel/as-search-template"
href="http://localhost:8080/dctm-rest/repositories/REPO/
search-templates.xml"/>
</links>
</saved-search>
searches/
080000018000157f"
},
{
"rel": "http://identifiers.emc.com/linkrel/saved-search-results",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
080000018000157f/results"
},
{
"rel": "http://identifiers.emc.com/linkrel/search-execution",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
080000018000157f/execution"
},
{
"rel": "http://identifiers.emc.com/linkrel/as-search-template",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/search-
templates"
}
]
}
You can use this resource to update a saved search. You can update the object_
name, title, and r_is_public attributes. You can also update a query-document
that contains an AQL. However, the AQL must be escaped.
For more information about the Abstract Query Language, see AQL.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987..
Here is a code sample that shows you a saved search, which has properties and an
embedded query document in AQL. As you can see, the AQL statements in the
<query-document> element must all be escaped as shown below.
<saved-search
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<properties>
<object_name>dave public</object_name>
<title>this is saved search</title>
<r_is_public>true</r_is_public>
</properties>
<query-document>
<search xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<types>
<type>dm_sysobject</type>
</types>
<expression-set>
<expressions>
<property-list name="owner_name" operator="IN">
<values>
<value>dmadmin</value>
</values>
</property-list>
</expressions>
</expression-set>
<facet-definitions>
<facet-definition id="id-1">
<attributes>
<attribute>r_object_type</attribute>
</attributes>
</facet-definition>
</facet-definitions>
</search>
</query-document>
</saved-search>
{
"properties": {
"object_name": "dave public",
"title": "this is saved search",
"r_is_public": true,
},
"query-document":"
{
\"types\": [\"dm_document\"],
\"expression-set\": {
\"expression-type": "expression-set",
\"expressions\": [
{
\"expression-type\": \"property\",
\"name\": \"myprop\",
\"operator\": \"CONTAINS\",
\"value\": \"myvalue\"
}
]
}
}
"
}
• 200 - OK
• 400, 401, 403, 404, 406, 409, 415, 500, and so on
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
<saved-search
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<properties>
<object_name>public search</object_name>
<title>this is saved search</title>
<r_is_public>true</r_is_public>
</properties>
<query-document>
<?xml version='1.0' encoding='UTF-8'?><search
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" all-
versions="false"
include-hidden-
objects="false"><repositories><repository>REPO
</repository></
repositories><types><type>dm_document</type>
</types><expression-set
operator="AND"><expressions><
fulltext fuzzy="true">iig</fulltext></
expressions></expression-set>
<columns><column>r_object_type</
column><column>object_name
</column><column>summary</column></
columns></search>
</query-document>
</saved-search>
</columns></search>
</query-document>
<links>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/
REPO/
saved-searches/0800000180010d42"/>
<link rel="edit" href="http://localhost:8080/dctm-rest/repositories/
REPO/
saved-searches/0800000180010d42"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/REPO/
saved-searches/0800000180010d42"/>
<link rel="http://identifiers.emc.com/linkrel/saved-search-results"
href="http://localhost:8080/dctm-rest/repositories/REPO/
saved-searches/0800000180010d42/results"/>
<link rel="http://identifiers.emc.com/linkrel/search-execution"
href="http://localhost:8080/dctm-rest/repositories/REPO/
saved-searches/0800000180010d42/execution"/>
<link rel="http://identifiers.emc.com/linkrel/as-search-template"
href="http://localhost:8080/dctm-rest/repositories/REPO/search-
templates"/>
</links>
</saved-search>
POST http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
0800000180010d42
Content-Type: application/vnd.emc.documentum+json
{
"properties": {
"object_name": "public search",
"title": "this is saved search",
"r_is_public": true
},
"query-document": "{\"all-versions\":false,\"include-hidden-objects
\":false,\"
repositories\":[\"REPO\"],\"types\":[\"dm_document\"],
\"expression-set\":{\"expression-type\":\"expression-set\",\"operator\":\"AND
\",
\"expressions\":[{\"expression-type\":\"fulltext\",\"value\":\"iig\",
\"fuzzy\":true}]},\"columns\":[\"r_object_type\", \"object_name\", \"summary
\"]"
}
{
"name": "saved-search",
"type": "dm_smart_list",
"definition": "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_smart_list",
"properties": {
"object_name": "public search",
"title": "this is saved search",
"creation-date": "2016-02-03T01:47:42.000+00:00",
"r_modify_date": "2016-02-03T01:48:53.000+00:00",
"r_modifier": "dmadmin",
"owner_name": "dmadmin",
"r_is_public": true,
"selected_sources": [
"REPO"
],
"has_results": false,
"results_count": -1,
"query_type": "query_builder",
"r_object_id": "0800000180010d42"
},
"query-document": "{\"all-versions\":false,\"include-hidden-objects
\":false,
\"repositories\":[\"REPO\"],\"types\":[\"dm_document\"],
\"expression-set\":{\"expression-type\":\"expression-set\",\"operator\":
\"AND\",
\"expressions\":[{\"expression-type\":\"fulltext\",\"value\":\"iig\",
\"fuzzy\":true}]},\"columns\":[\"r_object_type\", \"object_name\",
\"summary\"],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
0800000180010d42"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
0800000180010d42"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
0800000180010d42"
},
{
"rel": "http://identifiers.emc.com/linkrel/saved-search-results",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
0800000180010d42/results"
},
{
"rel": "http://identifiers.emc.com/linkrel/search-execution",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
0800000180010d42/execution"
},
{
"rel": "http://identifiers.emc.com/linkrel/as-search-template",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/search-
templates"
}
]
}
DELETE
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987..
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
2.62.2.1 Feed
Is this resource a feed? Yes.
• Feed ID: <Feed URI of the Saved Searches resource without file extension>
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.62.2.4 Operations
2.62.2.4.1 Supported HTTP methods
Method Description
GET Retrieves the visible saved searches
POST Creates a saved search
Notes
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
• Content-Type
• For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
2.62.2.4.2.7 Example
GET http://localhost/dctm-rest/repositories/REPO/saved-searches?items-per-
page=1
Accept: application/vnd.emc.documentum+json
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/saved-searches",
"title": "Saved Searches",
"author": [
{
"name": "OpenText Documentum"
}
],
"updated": "2015-07-30T02:57:34.222+00:00",
"page": 1,
"items-per-page": 100,
"total": 1,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches?
include-total=true&inline=false&view=has_results&
sort=object_name%20asc&filter=starts-with(object_name,%27dave%27)"
}
],
"entries": [
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
08024c518000472c",
"title": "dave public",
"author": [
{
"name": "dave"
}
],
"summary": "this is saved search",
"updated": "2015-07-30T02:41:25.000+00:00",
"published": "2015-07-30T02:41:25.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
saved-searches/
08024c518000472c"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
saved-searches/
08024c518000472c"
}
}
]
}
For a saved search, there are four basic attributes: name, r_object_name, title, r_
is_public, and query-document. All the other attributes are populated by the
system. The name and query-document parameters are mandatory to create a saved
search.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Accept
• For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
Here is a code sample that shows you a saved search, which has properties and an
embedded query document in AQL. The AQL statements in the <query-document>
element must be escaped as shown below.
For more information about the Abstract Query Language, see AQL.
<saved-search
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<properties>
<object_name>dave public</object_name>
<title>this is saved search</title>
<r_is_public>true</r_is_public>
</properties>
<query-document>
<search xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<types>
<type>dm_sysobject</type>
</types>
<expression-set>
<expressions>
<property-list name="owner_name" operator="IN">
<values>
<value>dmadmin</value>
</values>
</property-list>
</expressions>
</expression-set>
<facet-definitions>
<facet-definition id="id-1">
<attributes>
<attribute>r_object_type</attribute>
</attributes>
</facet-definition>
</facet-definitions>
</search>
</query-document>
</saved-search>
{
"properties":{
"object_name": "dmadmin private",
"title": "this is a facet search",
"r_is_public": false
},
"query-document": "
{
\"types\": [\"dm_document\"],
\"expression-set\": {
\"expression-type": "expression-set",
\"expressions\": [
{
\"expression-type\":\"property\",
\"name\": \"myprop\",
\"operator\": \"CONTAINS\",
\"value\": \"myvalue\"
}
]
}
}
"
}
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
Caution
• In AQL, there is an element named location that element must contain
a valid path location. A search with an invalid location can be
successfully created. Attempting to load a search that contains an
invalid location will cause DFC to throw an exception. When this is the
case, the REST layer will use the value UNREACHABLE LOCATION PATH for
the invalid path and no search results can be returned.
• Location must include source information. If you save to a location
without using any source information, the system will add a default
{
"rel": "http://identifiers.emc.com/linkrel/search-execution",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
08024c518000501f/execution"
},
{
"rel": "http://identifiers.emc.com/linkrel/as-search-template",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/search-
templates"
}
]
}
></link>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
08024c518000501f.xml"
></link>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
08024c518000501f.xml"
></link>
<link rel="http://identifiers.emc.com/linkrel/saved-search-results"
href="http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
08024c518000501f/results.xml"
></link>
<link rel="http://identifiers.emc.com/linkrel/search-execution"
href="http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
08024c518000501f/execution.xml"
></link>
<link rel="http://identifiers.emc.com/linkrel/as-search-template"
href="http://localhost:8080/dctm-rest/repositories/REPO/search-
templates.xml"
></link>
</links>
</saved-search>
See Also: “Saved Search” on page 573 and About the Diagram on page 17.
2.62.3.2 Feed
Is this resource a feed? Yes.
2.62.3.4 Operations
Method Description
GET Retrieve real-time results of a saved search.
facet-id-constraints=
id1%3Ddm_document,
id2%3dAdministrator
query-locale A locale used to evaluate the string N/A Only
query and parse words into a supported
language dependent token with xPlore.
The default
value is en.
Note: International characters and symbols that are used with this query
parameter must be URL encoded with the UTF-8 charset. Otherwise, the result
may be incorrect.
<expression-set>
<expressions>
<property-list name="owner_name" operator="IN">
<values>
<value>dmadmin</value>
</values>
</property-list>
</expressions>
</expression-set>
<facet-definitions>
<facet-definition group-by="range">
<attributes>
<attribute>r_full_content_size</attribute>
</attributes>
<properties>
<property name="range">0:10000,10000:20000</property>
</properties>
</facet-definition>
</facet-definitions>
</search>
The search returns the search results along with the facet results. Here you can
see that there are two groups returned for [0, 100000) and [10000, 20000)
respectively. Submitting the original AQL to the URL of each group navigates
to the results of that group.
<dm:facet
xmlns:dm="http://identifiers.emc.com/vocab/documentum">
<dm:facet-id>facet_r_full_content_size</dm:facet-id>
<dm:facet-label>Full Content Size</dm:facet-label>
<dm:facet-value>
<dm:facet-id>facet_r_full_content_size</dm:facet-id>
<dm:facet-value-id>0:10000</dm:facet-value-id>
<dm:facet-value-count>36</dm:facet-value-count>
<dm:facet-value-constraint>0/10000</dm:facet-value-constraint>
<link rel="search" href="http://localhost:8080/dctm-rest/repositories/
REPO/
search.xml?facet-id-constraints=facet_r_full_content_size%3D0/10000"/>
</dm:facet-value>
<dm:facet-value>
<dm:facet-id>facet_r_full_content_size</dm:facet-id>
<dm:facet-value-id>10000:20000</dm:facet-value-id>
<dm:facet-value-count>10</dm:facet-value-count>
<dm:facet-value-constraint>10000/20000</dm:facet-value-constraint>
<link rel="search" href="http://localhost:8080/dctm-rest/repositories/
REPO/
search.xml?facet-id-constraints=facet_r_full_content_size
%3D10000/20000"/>
</dm:facet-value>
</dm:facet>
N/A
• Accept
• Authorization
N/A.
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<feed
xmlns="http://www.w3.org/2005/Atom"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<id>http://localhost:8080/dctm-rest/repositories/REPO/saved-searches
/08024c5180005288/execution</id>
<title>Search results</title>
<author>
<name>OpenText Documentum</name>
</author>
<updated>2015-08-04T07:19:05.885+00:00</updated>
<dm:page
xmlns:dm="http://identifiers.emc.com/vocab/documentum">1
</dm:page>
<dm:items-per-page
xmlns:dm="http://identifiers.emc.com/vocab/documentum">1
</dm:items-per-page>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/
REPO/saved-searches/08024c5180005288/execution.xml?items-per-page=1"/>
<link rel="next" href="http://localhost:8080/dctm-rest/repositories/
REPO/saved-searches/08024c5180005288/execution.xml?items-per-
page=1&page=2"/>
<link rel="first" href="http://localhost:8080/dctm-rest/repositories/REPO/
saved-searches/08024c5180005288/execution.xml?items-per-page=1&page=1"/>
<link rel="search" hreftemplate="http://localhost:8080/dctm-rest/
repositories/REPO/search.xml{?collections,facet,include-total,inline,
items-per-page,locations,object-type,page,q,sort,timezone,view}"/>
<entry>
<id>09024c518000488c</id>
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
08024c5180005288/execution",
"title": "Search results",
"author": [
{
"name": "OpenText Documentum"
}
],
"updated": "2015-08-04T07:17:59.804+00:00",
"page": 1,
"items-per-page": 1,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
08024c5180005288/execution?items-per-page=1"
},
{
"rel": "next",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
08024c5180005288/execution?items-per-page=1&page=2"
},
{
"rel": "first",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
08024c5180005288/execution?items-per-page=1&page=1"
},
{
"rel": "search",
"hreftemplate": "http://localhost:8080/dctm-rest/repositories/REPO/
search{?collections,facet,include-total,inline,items-per-
page,locations,
object-type,page,q,sort,timezone,view}"
}
],
"entries": [
{
"id": "09024c518000488c",
"title": "ADFS and Shib 0.81.docx",
"author": [
{
"name": "UnitTestUser"
}
],
"summary": "Federated Access\t18 Step 3: ...",
"updated": "2015-08-04T06:50:23.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
objects/
09024c518000488c"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
objects/
09024c518000488c"
},
"score": "1.0",
"terms": [
"Test",
"test",
"testing",
"rest",
"Testing",
"tested"
]
}
...
{...}
]
}
For more information, see “Saved Search” on page 573 and About the Diagram
on page 17.
2.62.4.2 Feed
Is this resource a feed? Yes.
2.62.4.4 Operations
2.62.4.4.1 Supported HTTP methods
Method Description
PUT Enable or refresh results of a saved search.
GET Retrieve results of a saved search.
DELETE Disable saved results.
By default, a newly created Saved Search resource does not save results. This
operation enables any previously disabled saved results. This operation causes the
value of the <has_results> attribute of a saved search to change from false to true.
When <has_results> is already true, which means that results saving is already
enabled, this operation can be used to refresh the saved results and prevent users
from seeing any out-of-date search results.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization (optional)
<dm:term>tested</dm:term>
</dm:terms>
</entry>
</feed>
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
08024c5180004332/saved-results",
"title": "Search results",
"author": [
{
"name": "OpenText Documentum"
}
],
"updated": "2015-08-04T02:54:54.399+00:00",
"page": 1,
"items-per-page": 1,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
08024c5180004332/saved-results?items-per-page=1"
},
{
"rel": "next",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
08024c5180004332/saved-results?items-per-page=1&page=2"
},
{
"rel": "first",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-
searches/
08024c5180004332/saved-results?items-per-page=1
&page=1"
},
{
"rel": "search",
"hreftemplate": "http://localhost:8080/dctm-rest/repositories/REPO/
search{?collections,facet,include-total,inline,items-per-
page,locations,object-type,page,q,sort,timezone,view}"
}
],
"entries": [
{
"id": "09024c5180004344",
"title": "ADFS and Shib 0.81.docx",
"author": [
null
],
"summary": "Federated Access\t18 Step 3: Test AD FS 2.0 as the Identity...
Step 5: Test Shibboleth as the Identity Provider and AD FS 2.0 as... following
sections. AD FS 2.0 The test deployment that is created in the... domain
controller and the federation server in test deployments",
"updated": "2015-08-04T02:55:22.883+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
09024c5180004344"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
09024c5180004344"
},
"score": "1.0",
"terms": [
"Test",
"test",
"testing",
"rest",
"Testing"]
]
}
• Content-Type
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of saved results of the search. See the response body of
the Saved Search Execution resource for representation samples.
GET
• links
• inline
• include-total
• page
• items-per-page
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization (optional)
N/A
• Content-Type
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of saved results of the search. See the Response body of
the Saved Search Execution for representation samples.
Disable saved results. The following properties are updated after this operation:
DELETE
N/A
• Accept
• Authorization (optional)
N/A
N/A
N/A
After you disable saved results, the system returns 204 no content with no content
in the response body.
A search template allows you to share a search with others users. Users who receive
the search template can customize it for their own specific use, and can also give it to
other users who can customize it further.
In the search template resource, AQL expressions that contain variables have the
boolean attribute template set to true. Variables are set to a predicate value that
can be updated at a later time.
The following table lists all AQL expressions that support variables:
<values>
<value>dm_document</
value>
<value>dm_folder</
value>
</values>
</property-list>
relative date Relative value and time unit <relative-date
name="r_modify_date"
time-unit="MONTH"
operator="GREATER_
THAN"
repeating="false"
template="true">-3</
relative-date>
<from>2010-10-13T07:3
3:13.009+00:00</from>
<to>2014-11-11T01:35:
17.089+00:00</to>
</property-range>
A search template differs from a saved search in that a search template may contain
variables in its search criteria while a saved search cannot.
2.63.1.2 Feed
No feed support.
2.63.1.4 Operations
Method Description
GET Get a search template.
DELETE Delete a search template.
GET
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization (optional)
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
Element Description
id xPath-like identifier of the expression where
the variable is located. For example, /
expression[1]/expression[0]
indicates the first child expression of the
second expression under the root.
expression-type Type of the expression where the variable is
located.
property-name Name of the property that is used as a
variable. Not valid in fulltext expressions.
data-type Data type of the property that is used as a
variable. Not valid in fulltext expressions.
operator Operator of the expression where the
variable is located. Not valid in fulltext and
relative date expressions. The GREATER_
THAN operator can be used for relative date
expressions.
variable-value Predicate variable value.
repositories/REPO/search-templates/08024c5180004333.xml"/>
</links>
</saved-search-template>
"variable-value": "attr1"
},
{
"id": "/expression[2]/from",
"expression-type": "property-range",
"property-name": "r_modify_date",
"data-type": "datetime",
"operator": "GREATER_EQUAL",
"variable-value": "1973-01-26T01:45:31 000+00:00"
},
{
"id": "/expression[2]/to",
"expression-type": "property-range",
"property-name": "r_modify_date",
"data-type": "datetime",
"operator": "LESS_EQUAL",
"variable-value": "2006-01-30T01:12:31 000+00:00"
},
{
"id": "/expression[3]",
"expression-type": "relative-date",
"property-name": "r_modify_date",
"data-type": "datetime",
"variable-value": "-3:MONTH"
}
],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/search-
templates/
08024c5180004333"
},
{
"rel": "http://identifiers.emc.com/linkrel/search-execution",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/search-
template/
08024c5180004333/execution"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/search-
templates/
08024c5180004333"
}
]
}
DELETE
N/A
• Authorization (optional)
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
HTTP 204 No Content status upon a successful delete operation. The Response body
contains no content.
2.63.2.2 Feed
Is this resource a feed? Yes.
2.63.2.4 Operations
2.63.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a visible search template collection
POST Creates a new search template
• Authorization (optional)
• Accept
• For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
Here is a code sample that shows you a search template that has properties and
an embedded query document in AQL. The AQL statements in the <query-
document> element must be escaped as shown below.
types/dmc_search_template.xml">
<properties>
<object_name>wangchen</object_name>
<subject>Search template Description for unit tests.</subject>
<r_is_public>true</r_is_public>
</properties>
<query-document-template>
<search xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" all-
versions="false">
<repositories>
<repository>REPO</repository>
</repositories>
<types>
<type>dm_sysobject</type>
</types>
<expression-set operator="AND">
<expressions>
<fulltext fuzzy="false" template="true">key word</fulltext>
<expression-set operator="AND">
<expressions>
<property name="object_name" operator="CONTAINS"
exact-match="false" repeating="false" case-sensitive="false"
fuzzy="false" template="true">attr1</property>
</expressions>
</expression-set>
<property-range name="r_modify_date" operator="BETWEEN"
repeating="false"
template="true">
<from>1973-01-26T03:09:01:000+00:00</from>
<to>2015-07-30T035:10:04.000+00:00</to>
</property-range>
<relative-date name="r_modify_date" time-unit="MONTH"
operator="GREATER_THAN" repeating="false" template="true">-3</
relative-date>
</expressions>
</expression-set>
</search>
</query-document-template>
</search-template>
{
\"expression-type\": \"expression-set\",
\"operator\": \"AND\",
\"expressions\": [
{
\"expression-type\": \"fulltext\",
\"value\": \"key word\",
\"fuzzy\": false,
\"template\": \"true\"
},
{
\"expression-type\": \"expression-set\",
\"operator\": \"AND\",
\"expressions\": [
{
\"expression-type\": \"property\",
\"name\": \"object_name\",
\"operator\": \"CONTAINS\",
\"value\": \"attr1\",
\"exact-match\": false,
\"repeating\": false,
\"case-sensitive\": false,
\"fuzzy\": false,
\"template\": \"true\"
}
]
},
{
\"expression-type\": \"property-range\",
\"name\": \"r_modify_date\",
\"operator\": \"BETWEEN\",
\"from\": \"1973-07-30T03:09:01.000+00:00\",
\"to\": \"2015-07-30T035:10:04.000+00:00\",
\"repeating\": false,
\"template\": \"true\"
},
{
\"expression-type\": \"relative-date\",
\"name\": \"r_modify_date\",
\"value\": -3,
\"time-unit\": \"MONTH\",
\"operator\": \"GREATER_THAN\",
\"repeating\": false,
\"template\": \"true\"
}
]
}
}"
}
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985
• Content-Type
• Location: The URI for the newly added search template
• For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
operator="AND"><expressions><fulltext fuzzy="false"
template="true">key word</fulltext>
<expression-set operator="AND"><expressions><property
name="object_name" operator="CONTAINS"
exact-match="false" repeating="false" case-sensitive="false" fuzzy="false"
template="true">attr1</property></expressions></expression-
set><property-range name="r_modify_date" operator="BETWEEN"
repeating="false" template="true"><from>01/26/1973 00:00:00</
from><to>11/30/2006 00:00:00</to></property-
range><relative-date name="r_modify_date" time-unit="MONTH"
operator="GREATER_THAN" repeating="false" template="true">-3</relative-
date></expressions></expression-set></search>
</query-document-template>
<external-variables>
<fulltext-variable>
<id>/expression[0]</id>
<expression-type>fulltext</expression-type>
<data-type>string</data-type>
<variable-value>key word</variable-value>
</fulltext-variable>
<property-variable>
<id>/expression[1]/expression[0]</id>
<expression-type>property</expression-type>
<property-name>object_name</property-name>
<data-type>string</data-type>
<operator>CONTAINS</operator>
<variable-value>attr1</variable-value>
</property-variable>
<property-variable>
<id>/expression[2]/from</id>
<expression-type>property-range</expression-type>
<property-name>r_modify_date</property-name>
<data-type>datetime</data-type>
<operator>GREATER_EQUAL</operator>
<variable-value>2015-09-23T01:45:31.000+00:00</variable-value>
</property-variable>
<property-variable>
<id>/expression[2]/to</id>
<expression-type>property-range</expression-type>
<property-name>r_modify_date</property-name>
<data-type>datetime</data-type>
<operator>LESS_EQUAL</operator>
<variable-value>2015-09-23T01:45:31.000+00:00</variable-value>
</property-variable>
<relative-date-variable>
<id>/expression[3]</id>
<expression-type>relative-date</expression-type>
<property-name>r_modify_date</property-name>
<data-type>datetime</data-type>
<variable-value>-3:MONTH</variable-value>
</relative-date-variable>
</external-variables>
<links>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/REPO/
search-templates/08024c5180004333.xml"/>
<link rel="delete" href="http://localhost:8080/dctm-rest/repositories/REPO/
search-templates/08024c5180004333/execution.xml"/>
<link rel="execution"
href="http://localhost:8080/dctm-rest/repositories/REPO/
search-templates/08024c5180004333.xml"/>
</links>
</search-template>
{
"id": "/expression[2]/from",
"expression-type": "property-range",
"property-name": "r_modify_date",
"data-type": "datetime",
"operator": "GREATER_EQUAL",
"variable-value": "2015-09-23T01:45:31.000+00:00"
},
{
"id": "/expression[2]/to",
"expression-type": "property-range",
"property-name": "r_modify_date",
"data-type": "datetime",
"operator": "LESS_EQUAL",
"variable-value": "2015-09-23T01:45:31.000+00:00"
},
{
"id": "/expression[3]",
"expression-type": "relative-date",
"property-name": "r_modify_date",
"data-type": "datetime",
"variable-value": "-3:MONTH"
}
],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
search-templates/08024c5180004333"
},
{
"rel": "delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
search-template/08024c5180004333/execution"
},
{
"rel": "execution",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
search-templates/08024c5180004333"
}
]
}
This operation creates a new search template from an existing saved search. Each
call to this method creates a new search template. Any expressions that are in the
saved search that can be templates will become templates. When a property
expression has the IS_NULL or IS_NOT_NULL operator it does not become a template.
This is because there is no value in the property expression that can be used as a
variable.
POST
application/vnd.emc.documentum+xml
application/vnd.emc.documentum+json
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The three attributes of the search template that can be specified by users include the
following:
• object_name
• subject
• r_is_public
You can set the object_name attribute, however, when a value for the object_name
attribute is not specified in the request body, its value is set from the saved search
used to create the new template. The values for all of the other attributes are set
using the values from the source saved search used to create the new template. The
search-reference attribute specifies the URL of the source saved search.
<search-template
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" search-
reference="http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
0800000580008fd3">
<properties>
<object_name>new template</object_name>
<subject>Search template created from saved search.</subject>
<r_is_public>true</r_is_public>
</properties>
</search-template>
{
"properties": {
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• Location - The URI of the newly created search template.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<r_object_id>0900000180010d1f</r_object_id>
</properties>
<query-document-template><?xml version='1.0' encoding='UTF-8'?><search
xmlns="http://identifiers.emc.com/vocab/documentum"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" all-
versions="false">
<repositories><repository>REPO</repository>
</repositories><types><type>dm_sysobject</type>
</types><expression-set operator="AND"><expressions>
<fulltext fuzzy="false" template="true">key word</fulltext>
<expression-set operator="AND"><expressions><property
name="object_name" operator="CONTAINS" exact-match="false"
repeating="false"
case-sensitive="false" fuzzy="false" template="true">attr1</property>
</expressions></expression-set><property-range name="r_modify_date"
operator="BETWEEN" repeating="false" template="true">
<from>01/26/1973 00:00:00</from><to>11/30/2006 00:00:00
</to></property-range><relative-date name="r_modify_date"
time-unit="MONTH" operator="GREATER_THAN" repeating="false"
template="true">
-3</relative-date></expressions></expression-set>
</search>
</query-document-template>
<external-variables>
<fulltext-variable>
<id>/expression[0]</id>
<expression-type>fulltext</expression-type>
<data-type>string</data-type>
<variable-value>key word</variable-value>
</fulltext-variable>
<property-variable>
<id>/expression[1]/expression[0]</id>
<expression-type>property</expression-type>
<property-name>object_name</property-name>
<data-type>string</data-type>
<operator>CONTAINS</operator>
<variable-value>attr1</variable-value>
</property-variable>
<property-variable>
<id>/expression[2]/from</id>
<expression-type>property-range</expression-type>
<property-name>r_modify_date</property-name>
<data-type>datetime</data-type>
<operator>GREATER_EQUAL</operator>
<variable-value>01/26/1973 00:00:00</variable-value>
</property-variable>
<property-variable>
<id>/expression[2]/to</id>
<expression-type>property-range</expression-type>
<property-name>r_modify_date</property-name>
<data-type>datetime</data-type>
<operator>LESS_EQUAL</operator>
<variable-value>11/30/2006 00:00:00</variable-value>
</property-variable>
<relative-date-variable>
<id>/expression[3]</id>
<expression-type>relative-date</expression-type>
<property-name>r_modify_date</property-name>
<data-type>datetime</data-type>
<variable-value>-3:MONTH</variable-value>
</relative-date-variable>
</external-variables>
<links>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/REPO
/search-templates/08024c5180004333.xml"/>
<link rel="edit" href="http://localhost:8080/dctm-rest/repositories/REPO/
search-templates/08024c5180004333.xml"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/REPO/search-templates/
08024c5180004333.xml"/>
</links>
</search-template>
"data-type": "string",
"operator": "CONTAINS",
"variable-value": "attr1"
},
{
"id": "/expression[2]/from",
"expression-type": "property-range",
"property-name": "r_modify_date",
"data-type": "datetime",
"operator": "GREATER_EQUAL",
"variable-value": "01/26/1973 00:00:00"
},
{
"id": "/expression[2]/to",
"expression-type": "property-range",
"property-name": "r_modify_date",
"data-type": "datetime",
"operator": "LESS_EQUAL",
"variable-value": "11/30/2006 00:00:00"
},
{
"id": "/expression[3]",
"expression-type": "relative-date",
"property-name": "r_modify_date",
"data-type": "datetime",
"variable-value": "-3:MONTH"
}
],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/search-
templates/
08024c5180004333"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/search-
template/
08024c5180004333"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/search-
templates/
08024c5180004333"
}
]
}
GET
• inline
• items-per-page
• page
• sort
• filter
• links
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization (optional)
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
<feed
xmlns="http://www.w3.org/2005/Atom"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<id>http://localhost:8080/dctm-rest/repositories/REPO/search-templates
</id>
<title>Search Templates</title>
<author>
<name>OpenText Documentum</name>
</author>
<updated>2015-09-23T02:02:59.525+00:00</updated>
<dm:page
xmlns:dm="http://identifiers.emc.com/vocab/documentum">1
</dm:page>
<dm:items-per-page
xmlns:dm="http://identifiers.emc.com/vocab/documentum">1
</dm:items-per-page>
<link rel="self" href="http://localhost:8080/dctm-rest/repositories/REPO/
search-templates.xml?inline=true&items-per-page=1"/>
<link rel="next" href="http://localhost:8080/dctm-rest/repositories/REPO/
search-templates.xml?inline=true&items-per-page=1&page=2"/>
<link rel="first" href="http://localhost:8080/dctm-rest/repositories/REPO/
search-templates.xml?inline=true&items-per-page=1&page=1"/>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/search-templates/
0900000180010d15</id>
<title>wangchen</title>
<author>
<name>dmadmin</name>
</author>
<summary>Search template Description for unit tests.</summary>
<updated>2015-09-23T02:02:59.526+00:00</updated>
<published>2015-09-23T01:25:57.000+00:00</published>
<link rel="edit" href="http://localhost:8080/dctm-rest/repositories/
REPO/
search-templates/0900000180010d15.xml"/>
<content>
<dm:search-template
xmlns:dm="http://identifiers.emc.com/vocab/documentum">
<dm:properties>
<dm:object_name>wangchen</dm:object_name>
<dm:r_object_id>0900000180010d15</dm:r_object_id>
<dm:r_is_public>1</dm:r_is_public>
<dm:r_modify_date>2015-09-23T01:25:57.000+00:00
</dm:r_modify_date>
<dm:creation-date>2015-09-23T01:25:57.000+00:00
</dm:creation-date>
<dm:owner_name>dmadmin</dm:owner_name>
<dm:selected_sources>
<dm:item>REPO</dm:item>
</dm:selected_sources>
<dm:subject>Search template Description for unit tests.
</dm:subject>
</dm:properties>
<dm:links>
<link rel="self" href="http://localhost:8080/dctm-rest/
repositories/REPO/search-templates/
0900000180010d15.xml"/>
</dm:links>
</dm:search-template>
</content>
</entry>
</feed>
"title": "wangchen",
"author": [
{
"name": "dmadmin"
}
],
"summary": "Search template Description for unit tests.",
"updated": "2015-09-23T02:02:17.108+00:00",
"published": "2015-09-23T01:25:57.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
search-templates/0900000180010d15"
}
],
"content": {
"name": "search-template",
"properties": {
"object_name": "wangchen",
"r_object_id": "0900000180010d15",
"r_is_public": 1,
"r_modify_date": "2015-09-23T01:25:57.000+00:00",
"creation-date": "2015-09-23T01:25:57.000+00:00",
"owner_name": "dmadmin",
"selected_sources": [
"REPO"
],
"subject": "Search template Description for unit tests."
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/
search-templates/0900000180010d15"
}
]
}
}
]
}
2.63.3.2 Feed
Is this resource a feed? Yes.
2.63.3.4 Operations
2.63.3.4.1 Supported HTTP methods
Method Description
POST Retrieves the results of an instantiated search
template
This operation is similar to execute as an AQL query document. The AQL used to
execute this operation comes from the Documentum Server and user inputs.
For example:
• You can
use <id1>
as the
facet id
for the r_
object_
type
property
• You can
use <id2>
as the
facet id
for the
owner_
name
property
facet-id-
constraints=i
d1=dm_documen
t,id2=Adminis
trator
Only
supported
with xPlore.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Accept
• For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• Only the <external-variables> parameter will have an effect when used in the
request body. The system will ignore the <query-document-template> and
<properties> parameters are ignored when included in the Request.
• In each variable, <id> and <variable-value> are mandatory (for JSON, <variable-
type> is required). Users can skip other elements; but if other elements are used in
the Request body, they must be correct.
• The date type should comply with this pattern yyyy-MM-dd'T'HH:mm:ss.SSSZ,
and as specified in ISO 8601.
<property-name>object_name</property-name>
<data-type>string</data-type>
<operator>IN</operator>
<variable-values>
<item>v1</item>
<item>v2</item>
</variable-values>
</property-list-variable>
<property-variable>
<id>/expression[2]/expression[0]</id>
<expression-type>property</expression-type>
<property-name>object_name</property-name>
<data-type>string</data-type>
<operator>CONTAINS</operator>
<variable-value>attr1</variable-value>
</property-variable>
<property-variable>
<id>/expression[3]/from</id>
<variable-value>2014-10-13T07:33:13.009+00:00</variable-value>
</property-variable>
<property-variable>
<id>/expression[3]/to</id>
<expression-type>property-range</expression-type>
<property-name>r_modify_date</property-name>
<data-type>datetime</data-type>
<operator>LESS_EQUAL</operator>
<variable-value>2014-11-13T07:33:13.009+00:00</variable-value>
</property-variable>
<relative-date-variable>
<id>/expression[4]</id>
<expression-type>relative-date</expression-type>
<property-name>r_modify_date</property-name>
<data-type>datetime</data-type>
<variable-value>-3:MONTH</variable-value>
<operator>GREATER_THAN</operator>
</relative-date-variable>
</external-variables>
</search-template>
"variable-type": "property-variable",
"id": "/expression[3]/from",
"expression-type": "property-range",
"property-name": "r_modify_date",
"data-type": "datetime",
"operator": "GREATER_EQUAL",
"variable-value": "2014-10-13T07:33:13.009+00:00"
},
{
"variable-type": "property-variable",
"id": "/expression[3]/to",
"expression-type": "property-range",
"property-name": "r_modify_date",
"data-type": "datetime",
"operator": "LESS_EQUAL",
"variable-value": "2014-11-13T07:33:13.009+00:00"
},
{
"variable-type": "relative-date-variable",
"id": "/expression[4]",
"expression-type": "relative-date",
"property-name": "r_modify_date",
"data-type": "datetime",
"variable-value": "3:MONTH",
"operator": "GREATER_THAN"
}
]
}
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
08024c5180005288/
execution",
"title": "Search results",
"author": [
{
"name": "OpenText Documentum"
}
],
"updated": "2015-08-04T07:17:59.804+00:00",
"page": 1,
"items-per-page": 1,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
08024c5180005288/execution?items-per-page=1"
},
{
"rel": "next",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
08024c5180005288/execution?items-per-page=1&page=2"
},
{
"rel": "first",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/saved-searches/
08024c5180005288/execution?items-per-page=1&page=1"
},
{
"rel": "search",
"hreftemplate": "http://localhost:8080/dctm-rest/repositories/REPO/
search{?collections,facet,include-total,inline,items-per-page,locations,object-
type,
page,q,sort,timezone,view}"
}
],
"entries": [
{
"id": "09024c518000488c",
"title": "ADFS and Shib 0.81.docx",
"author": [
{
"name": "UnitTestUser"
}
],
"summary": "Federated Access\t18 Step 3: Test AD FS 2.0 as the Identity...
Step 5: Test Shibboleth as the Identity Provider and AD FS 2.0 as...
following sections. AD FS 2.0 The test deployment that is created in the...
domain controller and the federation server in test deployments",
"updated": "2015-08-04T06:50:23.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
09024c518000488c"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
09024c518000488c"
},
"score": "1.0",
"terms": [
"Test",
"test",
"testing",
"rest",
"Testing",
"tested"
]
}
]
}
2.64 Search
The Search resource enables you to search for objects in a repository according to
the criteria that you specify. The search results can be navigated using facets.
For more information about facet searches, see the Facet Search section in the
OpenText&RegMark Documentum REST Services Version 7.3 Development Guide.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.64.2 Feed
Is this resource a feed? Yes.
2.64.4 Operations
2.64.4.1 Supported HTTP methods
Method Description
GET Full-text search using URI parameters.
POST Full-text search using a query document and
URI parameters.
Note: International
characters that are used in
this query parameter must
be sent with URL encoded
by the UTF-8 charset.
Otherwise, the result may
be incorrect.
Note: International
characters that are used in
this query parameter must
be sent with URL encoded
by the UTF-8 charset.
Otherwise, the result may
be incorrect.
collectio Specifies a list of collections string N/A No
ns separated by comma (,). to which collection
the query is scoped. The constraints
collections must exist in xPlore. are used
for the
search.
facet Specifies the property to be used string N/A No
as facet property is
used for
the search.
Parameter facet-value-constraints
must be encoded because it may
contain non-English locale
characters.
Note: International
characters that are used in
this query parameter must
be sent with URL encoded
by the UTF-8 charset.
Otherwise, the result may
be incorrect.
timezone Indicates the time zone used to string N/A GMT
compute date facets.
The default
value is en
• include-total
The include-total parameter in the Search service returns the total number of
hit results.
• inline
• items-per-page
• page
• sort
The sort order is determined by the data type of the attribute. For example, when
<r_content_size> is used with an attribute value of 123,3555 to sort search results,
the data type is integer and REST sorts the search results by integer.
• view
Notes
– r_object_id
– object_name
– r_object_type
– r_modify_date
– r_modifier
– summary
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Content-Type
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• Content-Length
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/json
• application/xml
• The body must contain a list of sysobjects (or subtypes of dm_SysObject), each of
which may or may not contain all attributes of a SysObject, depending on the
setting of the view and inline query parameters.
• The returned sysobjects collection only contains objects for which the user has
access.
• Pagination is supported.
• Default sort order is the ranking returned by the search engine and it can be
overridden with any SysObject attribute.
• Total count can be returned only when it is explicitly specified in the request
parameter, along with it the link for last page can be returned.
<entry>
...
</entry>
<!--Facet information-->
<dm:facet>
<!--The property used as the facet-->
<dm:facet-id>r_object_type</dm:facet-id>
<dm:facet-label>Type</dm:facet-label>
<!--Data of the results belonging to this fact-->
<dm:facet-value>
<dm:facet-value-id>san_biz</dm:facet-value-id>
<dm:facet-value-count>13</dm:facet-value-count>
<dm:facet-id>r_object_type</dm:facet-id>
<dm:facet-value-constraint>san_biz</dm:facet-value-constraint>
<!--A link that navigate you to the corresponding results of this fact--
>
<link rel="search"
href="http://localhost:8080/dctm-rest/repositories/acme01/search?
q=test&facet=r_object_type&fact-vale-constraints=san_biz"/>
</dm:facet-value>
<dm:facet-value>
<dm:facet-value-id>dm_document</dm:facet-value-id>
<dm:facet-value-count>12</dm:facet-value-count>
<dm:facet-id>r_object_type</dm:facet-id>
<dm:facet-value-constraint>dm_document</dm:facet-value-constraint>
<link rel="search"
href="http://localhost:8080/dctm-rest/repositories/acme01/search?
q=test&facet=r_object_type&fact-vale-constraints=dm_document"/>
</dm:facet-value>
</dm:facet>
</feed>
search.json{?q,collections,locations,facet,inline,page,items-per-page,
include-total,sort,view}"
}
],
"entries": [
{
"id": "090004d280005117",
"title": "Native UCF Functional Test Plan.doc",
"updated": "2013-05-07T15:56:45.000+08:00",
"summary": "Native UCF Functional Test Plan\t\t09/13/2010 OpenText |
Documentum...
Project Native UCF Functional Test Plan Document.../Updated some tests
Functional
Test Plan Template Version: 1.2... _Toc408805185 _Toc262725323 _Toc272245663
1.
Test Plan Identifier",
"author": [
{
"name": "dmadmin"
}
],
"content": {
"content-type": "application/json",
"src": ""
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/acme01/objects/
090004d280005117.json"
}
],
"score": "1.0",
"terms": [
"Test",
"Tested",
"tests",
"test",
"testing",
"Testing",
"tested"
]
},
{
"id": "090004d280009f72",
"title": "TESTED",
"updated": "2013-09-10T15:33:43.000+08:00",
"author": [
{
"name": "dmadmin"
}
],
"content": {
"content-type": "application/json",
"src": ""
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/acme01/objects/
090004d280009f72.json"
}
],
"score": "0.4935832917690277",
"terms": [
"test"
]
},
{
"id": "090004d2800072ae",
"title": "AAA BACKFLOW TESTING LLC",
"updated": "2013-09-10T15:25:15.000+08:00",
"author": [
{
"name": "dmadmin"
}
],
"content": {
"content-type": "application/json",
"src": ""
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/acme01/objects/
090004d2800072ae.json"
}
],
"score": "0.48992398381233215",
"terms": [
"test"
]
}
]
}
POST
• include-total
• page
• items-per-page
• inline
• facet-id-constraints
Contains the key value pairs for each facet id and its constraint. The id should
comply with the facet id in the AQL.
For example:
– You can use <id1> as the facet id for the <r_object_type> property
– You can use <id2> as the facet id for the <owner_name> property
facet-id-constraints=id1=dm_document,id2=Administrator
Note: Using any other search URI parameters not shown above with AQL
causes an error message to be shown in the Documentum REST Services
system.
• application/vnd.emc.documentum+json
• application/vnd.emc.documentum+xml
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
<search>
<types>
<type>dm_sysobject</type>
</types>
<expression-set>
<fulltext fuzzy="true">dmadmin</fulltext>
</expression-set>
<columns>
<column>object_name</column>
<column>r_object_id</column>
</columns>
<facets>
<facet id="r_modify_date">
<attributes><attribute>r_modify_date</attribute></attributes>
</facet>
</facets>
</search>
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• Content-Type
• Content-Length
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
Same response body as for the GET method: see “Response body” on page 649.
</locations>
<facet-definitions>
<facet-definition id="id1" group-by="alpharange" max-values="8">
<attributes>
<attribute>r_object_type</attribute>
</attributes>
<sort>FREQUENCY</sort>
<properties>
<property name="range">a:e, f:z</property>
</properties>
</facet-definition>
<facet-definition id="id2" group-by="relativeDate" max-values="9">
<attributes>
<attribute>r_modify_date</attribute>
</attributes>
<sort>VALUE_ASCENDING</sort>
</facet-definition>
</facet-definitions>
<expression-set>
<expressions>
<property name="object_name" operator="CONTAINS" exact-match="true"
repeating="true"
case-sensitive="false" fuzzy="true">rest
</property>
<fulltext fuzzy="true">rest</fulltext>
<fulltext fuzzy="false">test</fulltext>
<property-range name="r_content_size" operator="BETWEEN" repeating="false">
<from>0</from>
<to>10000</to>
</property-range>
<property-list name="r_object_type" operator="IN" repeating="false">
<values>
<value>dm_document</value>
<value>dm_folder</value>
</values>
</property-list>
<expression-set>
<expressions>
<fulltext fuzzy="false">test</fulltext>
</expressions>
</expression-set>
<relative-date name="r_modify_date"
time-unit="MONTH" operator="GREATER_THAN" >2</relative-date>
</expressions>
</expression-set>
</search>
{
"types": ["dm_document"],
"columns": [
"r_object_type",
"object_name"
],
"collections": [
"collection1",
"collection2"
],
"locations": [
{
"location-type": "id-location",
"id": "0c00000580001914",
"descendent": true
},
{
"location-type": "path-location",
"path": "/dmadmin",
"descendent": false
}
],
"sorts": [
{
"property": "r_content_size",
"ascending": true,
"lang": "fr",
"ascii": false
},
{
"property": "object_name",
"ascending": false,
"lang": "zh",
"ascii": true
}
],
"facet-definitions": [
{
"id": "id1",
"attributes": ["r_object_type"],
"group-by": "alpharange",
"sort": "FREQUENCY",
"properties": {
"range": "a:e, f:z",
},
"max-values": 8
},
{
"id": "id2",
"attributes": ["r_modify_date"],
"group-by": "r_modify_date",
"sort": "VALUE_ASCENDING",
"max-values": 9
}
],
"expression-set": {
"expression-type": "expression-set",
"expressions": [
{
"expression-type": "property",
"name": "object_name",
"operator": "CONTAINS",
"value": "rest",
"exact-match": true,
"repeated": true,
"case-sensitive": false,
"fuzzy": true
},
{
"expression-type": "fulltext",
"value": "rest",
"fuzzy": true
},
{
"expression-type": "fulltext",
"value": "test",
"fuzzy": false
},
{
"expression-type": "property-range",
"name": "r_content_size",
"operator": "BETWEEN",
"from": "0",
"to": "10000",
"repeating": false
},
{
"expression-type": "property-list",
"name": "r_object_type",
"operator": "IN",
"values": [
"dm_document",
"dm_folder"
],
"repeating": false
},
{
"expression-type": "expression-set",
"expressions": [
{
"expression-type": "fulltext",
"value": "test",
"fuzzy": false
}
]
},
{
"expression-type": "relative-date",
"name": "r_modify_date",
"value": 2,
"time-unit": "MONTH",
"operator": "EQUAL"
}
]
}
}
{
"id": "http://localhost:8080/dctm-rest/repositories/acme01/search",
"updated": "2014-04-30T14:27:49.643+08:00",
"author": [
{
"name": "OpenText Documentum"
}
],
"page": 1,
"items-per-page": 3,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/acme01/searches/
0c10304585007313/execution?items-per-page=3&inline=false&
include_total=true"
},
{
"rel": "next",
"href": "http://localhost:8080/dctm-rest/repositories/acme01/searches/
0c10304585007313/execution?items-per-page=3&inline=false&
include_total=true&page=2"
},
{
"rel": "first",
"href": "http://localhost:8080/dctm-rest/repositories/acme01/searches/
0c10304585007313/execution?items-per-page=3&inline=false&
include_total=true&page=1"
}
],
"entries": [
...
...
]
}
A URI facet parameter can be used to specify one attribute as the facet. By default,
the attributes of SysObject that are facet-enabled depends on the xPlore
configuration. The configuration for xPlore must be modified and re-indexed to facet
new attributes or add additional facet values to existing attributes.
The strategy used to group facets depends on the data type of the attribute.
Additional grouping strategies can be achieved using AQL language in a POST
statement.
For more information, see “Facet using query document” on page 660.
"facet-value-constraint": "rest_core",
"facet-value-count": 8,
"facet-value-id": "rest_core"
},
{
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/search?
facet=r_object_type&
facet-value-constraints=dm_network_location_map",
"rel": "search"
},
"facet-id": "facet_r_object_type",
"facet-value-constraint": "dm_network_location_map",
"facet-value-count": 2,
"facet-value-id": "dm_network_location_map"
}
],
"facet-label": "Type"
}
]
Facet navigation using AQL allows you to harness the full power of facets. There are
three kinds of facet requests:
• Single facet
• Multiple facet
• Nested facet
Grouping Strategies
The max-values property is the attribute of the facet definition that defines the
greatest number of groups that each facet can return.
Facet Ordering
• FREQUENCY
Ordered by count, descending
• NONE
Keep the order returned by the facet handler
• VALUE_ASCENDING
Ordered by facet value ID (ascending). The sort is alphanumeric. We assume that
even if the data type of the facet is date or numeric, the values are encoded in
such way that they are alphanumerically sortable.
• VALUE_DESCENDING
To navigate the facet results, you can POST the original request body to the link
in the facet value. The following JSON sample uses a Request and a Response
to demonstrate how to use a single facet:
Request
{
...
...
"columns":["owner_name"],
"facet-definitions": [
{
"id": "id1",
"attributes": ["r_object_type"],
"sort": "FREQUENCY"
}
]
}
Response
In the Response, the URL in the facet value has the facet-id-constraints
parameter. This parameter specifies the facet constraint id1=dm_folder:
"facets": [
{
"facet-id": "id1",
"facet-label": "Type",
"facet-value": [
{
"facet-id": "id1",
"facet-value-constraint": "dm_document",
"facet-value-count": 116,
"facet-value-id": "dm_document",
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/
searches/
0c10304585007313/execution?facet-id-constraints=id1%3Ddm_document",
"rel": "search"
}
},
{
"facet-id": "id1",
"facet-value-constraint": "dm_folder",
"facet-value-count": 68,
"facet-value-id": "dm_folder",
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/
searches/
0c10304585007313/execution?facet-id-constraints=id1%3Ddm_folder",
"rel": "search"
},
}
]
}
]
This code sample shows how to use two separate facets against <r_object_type>
and <owner_name>. The facets results have two facet aggregations respectively.
XML request
<search all-versions="true">
<facet-definitions>
<facet-definition id="id1" group-by="alpharange" max-values="8">
<attributes>
<attribute>r_object_type</attribute>
</attributes>
<properties>
<property name="range">a:r, s:z</property>
</properties>
<sort>FREQUENCY</sort>
</facet-definition>
<facet-definition>
<attributes>
<attribute>owner_name</attribute>
</attributes>
</facet-definition>
</facet-definitions>
</search>
JSON response
"facets": [
{
"facet-id": "id1",
"facet-label": "Type",
"facet-value": [
{
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/
searches/
0c10304585007313/execution?facet-id-constraints=id1%3Da:r",
"rel": "search"
},
"facet-id": "id1",
"facet-value-constraint": "a:r",
"facet-value-count": 116,
"facet-value-id": "a:r"
},
{
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/
searches/
0c10304585007313/execution?&facet-id-constraints=id1%3Ds:z",
"rel": "search"
},
"facet-id": "id1",
"facet-value-constraint": "s:z",
"facet-value-count": 68,
"facet-value-id": "s:z"
}
]
},
{
"facet-id": "facet_owner_name",
"facet-label": "Owner Name",
"facet-value": [
{
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/
searches/
0c10304585007313/execution?facet-id-constraints=facet_owner_name
%3Ddave",
"rel": "search"
},
"facet-id": "facet_owner_name",
"facet-value-constraint": "dave",
"facet-value-count": 126,
"facet-value-id": "dave"
},
{
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/searches/
0c10304585007313/execution?
facet-id-constraints=facet_owner_name%3Ddmadmin",
"rel": "search"
},
"facet-id": "facet_owner_name",
"facet-value-constraint": "dmadmin",
"facet-value-count": 138,
"facet-value-id": "dmadmin"
}
]
}
]
This code sample shows a nested facet definition, where r_object_type points
to owner_name in a tree like structure. For each r_object_type, the grouping
by owner_name goes a step further. Also, the facet values are hierarchical. The
first nested facet value has constraint id1=dm_document and id2=dmadmin:
JSON request
{
"columns":["owner_name"],
"facet-definitions": [
{
"id": "id1",
"attributes": ["r_object_type"],
"sort": "FREQUENCY",
"facet-definition": {
"id": "id2",
"attributes": ["owner_name"],
"sort": "FREQUENCY"
}
}
]
}
JSON response
{"facets": [
{
"facet-id": "id1",
"facet-label": "Type",
"facet-value": [
{
"facet-value-constraint": "dm_document",
"facet-value-count": 116,
"facet-value-id": "dm_document",
"facet-id": "id1",
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/
searches/
0c10304585007313/execution&facet-id-constraints=id1%3Ddm_document",
"rel": "search"
},
"facet-value": [
{
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/
searches/0c10304585007313/execution&facet-id-constraints=id1%3D
dm_document,id2%3Ddave",
"rel": "search"
},
"facet-id": "id2",
"facet-value-constraint": "dave",
"facet-value-count": 86,
"facet-value-id": "dave"
},
{
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/
searches/0c10304585007313/execution&
facet-id-constraints=id1%3Ddm_document,id2%3Ddmadmin",
"rel": "search"
},
"facet-id": "id2",
"facet-value-constraint": "dmadmin",
"facet-value-count": 30,
"facet-value-id": "dmadmin"
}
]
},
{
"facet-value-constraint": "dm_folder",
"facet-value-count": 68,
"facet-value-id": "dm_folder",
"facet-id": "id1",
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/
searches/
0c10304585007313/execution&facet-id-constraints=id1%3Ddm_folder",
"rel": "search"
},
"facet-value": [
{
"link": {
"href": "http://localhost:8080/dctm-rest/repositories/acme01/
searches/0c10304585007313/execution&
facet-id-constraints=id1%3Ddm_folder,id2%3Ddave",
"rel": "search"
},
"facet-id": "id2",
"facet-value-constraint": "dave",
"facet-value-count": 68,
"facet-value-id": "dave"
}
]
}
]
}
]}
See Also: “Document” on page 217 and About the Diagram on page 17.
2.65.2 Feed
Is this resource a feed? Yes.
• Supports POST: No
• Entry: No resource
2.65.4 Operations
2.65.4.1 Supported HTTP methods
Method Description
GET Retrieves the significant terms of the requested document.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• application/hal+json
documents/090000018000115b/significant-terms"></content>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/documents/
090000018000115b/significant-terms</id>
<title>costing</title>
<summary>Significant Term Result</summary>
<updated>2018-08-20T03:56:38.420+00:00</updated>
<published>2018-08-20T03:56:38.420+00:00</published>
<relevance:score xmlns:relevance="http://a9.com/-/opensearch/
extensions/relevance/1.0/">
4.058979821368136
</relevance:score>
<link rel="http://identifiers.emc.com/linkrel/search"
href="http://localhost:8080/dctm-rest/repositories/REPO/
search?q=costing"></link>
<content type="application/xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115b/significant-terms"></content>
</entry>
</feed>
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115b/significant-terms"
}
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/documents/
090000018000115b/significant-terms",
"title": "costing",
"summary": "Significant Term Result",
"updated": "2018-08-20T03:45:30.695+00:00",
"published": "2018-08-20T03:45:30.695+00:00",
"score": 4.058979821368136,
"links": [
{
"rel": "http://identifiers.emc.com/linkrel/search",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
search?q=costing"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115b/significant-terms"
}
}
]
}
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115c/significant-terms",
"title": "resource",
"summary": "Significant Term Result",
"updated": "2018-09-14T02:08:10.927+00:00",
"published": "2018-09-14T02:08:10.927+00:00",
"score": 4.03863332553002,
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/documents/090000018000115c/
significant-terms"
},
"http://identifiers.emc.com/linkrel/search": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/search?q=resource"
}
}
}
]
},
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
documents/090000018000115c/significant-terms"
},
"http://identifiers.emc.com/linkrel/search": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
search{?collections,facet,inline,
items-per-page,locations,object-type,page,q,sort,
timezone,view}",
"templated": true
}
}
}
See Also: “Sub Groups” on page 675 and About the Diagram on page 17.
2.66.1.2 Feed
No feed support.
2.66.1.4 Operations
2.66.1.4.1 Supported HTTP methods
Method Description
DELETE Remove a sub group from a group
DELETE
N/A
• Accept
• Content-Type
• Authentication
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
See Also: “Group” on page 311 and About the Diagram on page 17.
2.66.2.2 Feed
Is this resource a feed? Yes.
2.66.2.4 Operations
2.66.2.4.1 Supported HTTP methods
Method Description
GET Retrieves the information about a collection
of groups.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Content-Type
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
Note: The
href
variable is
mandatory
.
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
Retrieve the information about a collection of sub groups for a given parent group.
GET
• inline
• view
• items-per-page
• page
• include-total
• sort
• recursive
• links
• filter
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization (optional)
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• The body contains a list of the dm_group instances (or subtypes of dm_group).
• Each object may contain all or a set of properties of the group, depending on the
setting of the query parameter view.
• The returned child objects collection only contains those that you have access to.
• Pagination is supported.
• By default, the results are listed in alphabetical order by group name.
2.67 Synonyms
The Synonyms resource is used to get the synonyms of the requested keyword based
on the synonym categories in CCE.
For more information, see “Repository” on page 562 and About the Diagrams
on page 17.
2.67.2 Feed
Is this resource a feed? Yes.
• Supports POST: No
• Entry: No Resource
• Entry ID: The resource URI with a query parameter. For example {repoUri}/
cce/synonyms?word=xxx
2.67.4 Operations
2.67.4.1 Supported HTTP methods
Method Description
GET Retrieves the synonyms from the static
dictionary of build-in and customized
categories.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
Content-Type
Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
synonym-categories"></link>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/cce/
synonyms?word=opentext</id>
<title>qi xin</title>
<summary>
Synonym Result from Category Enterprise_Content_Management
</summary>
<updated>2018-09-25T02:09:42.529+00:00</updated>
<published>2018-09-25T02:09:42.529+00:00</published>
<content type="application/vnd.emc.documentum+xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/cce/
synonyms?word=opentext"></content>
</entry>
</feed>
For more information, see “Repository” on page 562 and About the Diagrams
on page 17.
2.68.2 Feed
Is this resource a feed? Yes.
2.68.4 Operations
2.68.4.1 Supported HTTP methods
Method Description
GET Retrieves the static synonym categories of the build-in and
customized categories.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
Content-Type
Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
<id>http://localhost:8080/dctm-rest/repositories/REPO/cce/
synonym-categories
</id>
<title>legal_terminology</title>
<summary>Result from CCE</summary>
<updated>2018-08-20T04:34:56.707+00:00</updated>
<published>2018-08-20T04:34:56.707+00:00</published>
<link rel="search"
href="http://localhost:8080/dctm-rest/repositories/REPO/
search?q=legal_terminology"></link>
<content type="application/xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/cce/
synonym-categories"></content>
</entry>
</feed>
synonym-categories",
"title": "legal_terminology",
"summary": "Result from CCE",
"updated": "2018-08-20T04:34:07.806+00:00",
"published": "2018-08-20T04:34:07.806+00:00",
"links": [
{
"rel": "search",
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/search?q=legal_terminology"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
synonym-categories"
}
}
]
}
},
"http://identifiers.emc.com/linkrel/search": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/search?q=legal_terminology"
}
}
}
]
},
"_links": {
"http://identifiers.emc.com/linkrel/synonyms": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
synonyms"
},
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
synonym-categories"
}
}
}
2.69 SysObject
The SysObject resource represents a SysObject instance in a repository, such as a
Document, or a Folder.
See Also: “Folder Child Objects” on page 285 and About the Diagram on page 17.
2.69.2 Feed
No feed support.
Folder Specific
Caution
• Versioning links for the SysObject collection are not displayed.
• You must have Version user privileges to use the <cancel-checkout> link.
• The <browse> (allows you to view metadata only), <read> (allows you to
view content and metadata), <delete>, and <write> permissions depend
on the ACL and can be retrieved using either the DFC object, or the DFC
ACL object.
Permission-Enabled
• edit: When the object is locked, then only the lock owner (with write
permissions) can edit the object.
• delete: This can only be performed on a locked object and must allow
versioning.
• checkout: The object is not locked and has versioning permissions.
• checkin: This can only be performed when the lock owner has versioning
permissions and the object version allows a version policy.
• cancel-checkout: This can only be performed by a user who has versioning
permissions, is the lock owner, is the object owner, or by the super user.
• When an object is locked, there's no delete link in either the single or collection
resource.
• When an object is locked in a collection, and a user is the lock owner, the edit
link is displayed without a permission check, meaning that even when the user
does not have the write permission, the edit link is accessible to that user.
• When a single resource is locked and the user is the lock owner. In this case, a
check to determine if the user has write permissions is done.
• When a collection resource is locked and the user is the lock owner, the edit link
is always displayed, without any permission checking.
Tip: A simple performance test to retrieve a 100 items per page has determined
that retrieving the DFC object, calculating the <ACL> and version policy, is up
to 6 times slower than retrieving the collection using DQL with attributes. This
latency may be worsened when using a WAN because of the numerous RPC
calls that are necessary.
To help with the above latency, avoid checking permissions when working
with a collection. When enabling a link requires the use of other objects in
addition to the current object, then the permissions are not checked. For
example, when working with a parent and cabinet link relation, the parent
folder and cabinet do not perform any checks to verify access.
2.69.4 Operations
Method Description
GET Retrieves properties, and other information
of the SysObject resource
POST Updates the attributes of the SysObject
resource
DELETE Deletes the SysObject instance from a
repository
N/A
• Accept
• Authorization (optional)
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
{
"attr1": "value1",
"repeating_attr2": [value2, value3],
...
},
"links":
[
{
"rel": "self",
"href": "..."
},
...
]
}
2.69.4.2.9 Example
GET /dctm-rest/repositories/REPO/objects/0900000580002516?view=object_name,
i_folder_id HTTP/1.1
Host: localhost:8080
Authorization: Basic ZG1hZG1pbjpwYXNzd29yZA==
Accept: application/vnd.emc.documentum+json
{
"name": "object",
"type": "dm_document",
"definition": "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_document",
"properties": {
"object_name": "iig36_Wed_Gal1005_1000_MurphyOil.pptx",
"i_folder_id": [
"0c0000058000211b"
]
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516?view=object_name,i_folder_id"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516"
},
{
"rel": "canonical",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/documents/
0900000580002516"
},
{
"rel": "http://identifiers.emc.com/linkrel/parent-links",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/parent-links"
},
{
"rel": "parent",
"title": "0c0000058000211b",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/folders/
0c0000058000211b"
},
{
"rel": "http://identifiers.emc.com/linkrel/cabinet",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/cabinets/
0c0000058000211b"
},
{
"rel": "contents",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/contents"
},
{
"rel": "http://identifiers.emc.com/linkrel/primary-content",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/contents/content"
},
{
"rel": "http://identifiers.emc.com/linkrel/checkout",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/lock"
},
{
"rel": "version-history",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/versions"
},
{
"rel": "http://identifiers.emc.com/linkrel/current-version",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/versions/current"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-nodes",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/vd-nodes"
},
{
"rel": "http://identifiers.emc.com/linkrel/snapshots",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/snapshots?
filter=r_assembled_from_id%20%3D'0900000580002516'"
},
{
"rel": "http://identifiers.emc.com/linkrel/relations",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/relations?related-
object-id=0900000580002516&related-object-role=any"
},
{
"rel": "http://identifiers.emc.com/linkrel/object-aspects",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/aspects"
},
{
"rel": "http://identifiers.emc.com/linkrel/permission-set",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/permission-set"
},
{
"rel": "http://identifiers.emc.com/linkrel/permissions",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/permissions"
},
{
"rel": "http://identifiers.emc.com/linkrel/comments",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/comments"
},
{
"rel": "http://identifiers.emc.com/linkrel/attachable-lifecycles",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/lifecycles?object-
id=0900000580002516"
},
{
"rel": "http://identifiers.emc.com/linkrel/object-lifecycle",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516/lifecycle"
}
]
}
Caution
Providing undefined attributes or invalid values for attributes in the
Request body causes an exception to be thrown.
POST
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
Only attributes that can be updated should be included in the request message body.
You cannot use this operation to make updates to permissions.
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
XML or JSON representation of the object. A successful response contains all of the
attributes of the updated object. Permission set is not returned.
2.69.4.3.9 Example
{
"properties":
{
"r_object_id": "1900000f80000cd8",
"object_name": "dm_usage_log_modified",
...
},
"links":
[
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
1900000f80000cd8"
},
{
"rel": "contents",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
1900000f80000cd8/contents"
}
]
}
For a folder object, the deletion of folder children is controlled by query parameters.
When a deletion fails, an exception is thrown and the SysObject resource (including
the folder tree and version history) is reverted back to its original state.
N/A
When the del-vd-all parameter is true, it traverses the virtual document and
applies the strategy specified by the del-version parameter to each node in the
hierarchy. The virtual document hierarchy depends on the following:
• The criteria defined for each node when it was added or last updated.
• The value of the version data that is present in the resolution_label attribute
of the virtual document object being deleted. When the resolution_label
attribute exists; the virtual document uses it to determine the version. Otherwise,
the virtual document must use CURRENT to retrieve the virtual document
hierarchy. When the virtual document uses CURRENT to retrieve the virtual
document hierarchy, late binding nodes may have their version data, which is
specified by the resolution_label, deleted.
• The include-broken attribute is always set to true when determining the
virtual document hierarchy.
The following table displays the strategies that can be used to delete nodes.
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
2.69.5 Example
Example 2-300: JSON request
DELETE http://localhost:8080/dctm-rest/repositories/REPO/objects/1900000f80000cd8
Accept:application/vnd.emc.documentum+json
Authorization:Basic ZG1hZG1pbjpwYXNzd29yZA==
See Also:“Task Packages” on page 718 and About the Diagram on page 17.
2.70.1.2 Feed
No feed support.
2.70.1.4 Operations
2.70.1.4.1 Supported HTTP methods
Method Description
GET Retrieves the task package
POST Add documents and notes to a task package
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/hal+json
• Authorization
• Accept
• Content-Type
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
Note: The following are the only attributes that apply to notes, all others are
ignored.
– When true, then the note is visible to all subsequent workflow tasks.
– When false, then the note is visible in the next task only
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
Note: The Response body for this operation will be the same as the Response
body for the Get a Task Package operation. It is shown below for your
convenience.
title="0900000180011fad"
href="http://localhost:8080/dctm-rest/repositories/
REPO/objects/0900000180011fad"/>
<link rel="http://identifiers.emc.com/linkrel/
delete-note"
title="410000018005410c"
href="http://localhost:8080/dctm-rest/repositories/
REPO/work-items/4a00000180002900/
packages/0/notes/410000018005410c"/>
<link rel="http://identifiers.emc.com/linkrel/work-item"
href="http://localhost:8080/dctm-rest/repositories/
REPO/work-items/4a00000180002900"/>
</links>
</package>
4a00000180002900/packages/0/notes/
410000018005410c"
}, {
"rel": "http://identifiers.emc.com/linkrel/
work-item",
"href": "http://localhost:8080/dctm-rest/
repositories/REPO/work-items/
4a00000180002900"
}
]
}
{
"href": "http://localhost:8080/dctm-rest/
repositories/REPO/work-items/
4a00000180002900/packages/0/
documents"
}
}
}
See Also: “Inbox Item” on page 340 and About the Diagram on page 17.
2.70.2.2 Feed
Is this resource a feed? Yes.
2.70.2.4 Operations
2.70.2.4.1 Supported HTTP methods
Method Description
GET Get the workflow task attachment packages.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
1b000001800011fb/packages/0" type="application/vnd.emc.documentum+xml"/>
</entry>
</feed>
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/work-items/
1b000001800011fb/packages",
"title": "Workflow task packages",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-02-28T06:35:56.803+00:00",
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/work-items/
1b000001800011fb/packages"
}
],
"entries": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/work-items/
1b000001800011fb/packages/0",
"title": "Package1",
"summary": "EMPTY",
"updated": "2019-02-28T06:35:56.803+00:00",
"published": "2019-02-28T06:35:56.803+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
work-items/1b000001800011fb/packages/0"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/work-items/
1b000001800011fb/packages/0"
}
}
]
}
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/work-items/
1b000001800011fb/packages",
"title": "Workflow task packages",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-02-28T06:35:46.191+00:00",
"_embedded": {
"collection": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/work-items/
1b000001800011fb/packages/0",
"title": "Package1",
"summary": "EMPTY",
"updated": "2019-02-28T06:35:46.191+00:00",
"published": "2019-02-28T06:35:46.191+00:00",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
work-items/1b000001800011fb/packages/0"
}
}
}
]
},
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/work-items/
1b000001800011fb/packages"
}
}
}
See Also: “Task Package” on page 707 and About the Diagram on page 17.
2.71.2 Feed
No feed support.
2.71.4 Operations
2.71.4.1 Supported HTTP methods
Method Description
DELETE Removes all of the documents in a package
N/A
• Accept
• Authorization
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
See Also: “Task Package” on page 707 and About the Diagram on page 17.
2.72.2 Feed
No feed support.
2.72.4 Operations
2.72.4.1 Supported HTTP methods
Method Description
DELETE Remove a specified Package Note.
N/A
• Accept
• Authorization
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
See Also: “Types” on page 754 and About the Diagram on page 17.
2.73.1.2 Feed
No feed support.
2.73.1.4 Operations
2.73.1.4.1 Supported HTTP methods
Method Description
GET Retrieves a Type object in the repository
Retrieves the metadata and content properties of the current type object.
Note: If
the
corresp
onding
label of
the
specifie
d locale
cannot
be
found,
the
label is
null.
When either
<include-all>
or <include-
value-assist>
are true, the
value assist
information
is returned.
When either
<include-all>
or <include-
lifecycle> are
true, the
lifecycles
based type
information
is returned.
When either
<include-all>
or <include-
auditable-
events> are
true, the
type
auditable
events are
returned.
When either
<include-all>
or <include-
display-
configs> are
true, the
type display
configuration
information
is returned.
When either
<include-all>
When either
<include-all>
or <include-
value-
constraints>
are true, the
type and
properties
value
constraints
information
is returned.
scope- Specifies string scope config null
config whether to name
get type
properties
based on the
specified
scope and
display
configuration
. The value
you can set is
the scope
configuration
name. The
scope-
configuration
and the
display-
configuration
must be
provided
together.
Note: When the relative label value of the specified locale is invalid, locale is
not returned. Nevertheless, all other attributes are returned.
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
ignore-parent-constraints="false"
parent="http://localhost:8080/dctm-rest/repositories/REPO/types/dm_sysobject.xml">
<help-text>xxx</help-text>
<comment-text>xxx</comment-text>
<auditable-system-events>
<event>dm_unaudit</event>
<event>dm_audit</event>
...
</auditable-system-events>
<auditable-app-events>
<event>my_app_event2</event>
<event>my_app_event1</event>
...
</auditable-app-events>
<mapping-table>
<mapping>
<value>1</value>
<display>one</display>
</mapping>
<mapping>
<value>2</value>
<display>two</display>
<description>2 to two</description>
</mapping>
</mapping-table>
<constraints>
<contraint>
<expression>a_property&lt;10000</expression>
<enforce>BY_APPLICATION</enforce>
<dependency>a_property</dependency>
<message>a_property must be less than 10000</message>
</contraint>
<contraint>
<expression>Len(b_property)&lt;100</expression>
<enforce>DISABLED</enforce>
<dependency>b_property</dependency>
<message>b_property must have less than 100 characters</message>
</contraint>
</constraints>
<scope-configs>
<scope-config>
<id>6c0000058000050a</id>
<scope>
<item>webtop</item>
</scope>
<category>
<item>application</item>
</category>
<display-configs>
<display-config>
<name>config1</name>
<id>6b0000058000050a</id>
<attribute-source>dm_document</attribute-source>
<fixed-display>false</fixed-display>
<attribute-hints>
<attribute-hint>
<attribute>int_attr1</attribute>
<display-hint>1</display-hint>
</attribute-hint>
</attribute-hints>
</display-config>
</display-configs>
</scope-config>
</scope-configs>
<properties>
<property name="a_property" category="category a_property" repeating="false"
type="string" length="32" label="Type" hidden="false"
required="false" notnull="false" notnull-enforce="BY_APPLICATION"
notnull-message="a_property is not nullable" readonly="true"
searchable="true" display-hint="0" ignore-immutable="true"
ignore-parent-constraints="true">
<dependencies>
<item>attr1</item>
<item>attr2</item>
<dependencies>
<value-assist>
<query allow-caching="false" allow-user-values="false"
condition="..." query-attribute="..."></query>
<query allow-caching="false" allow-user-values="true"
query-attribute="...">...</query>
</value-assist>
<mapping-tables>
<mapping-table>
<value>10</value>
<display>Ten</display>
<description>10 to Ten</description>
</mapping-table>
<mapping-table>
<value>20</value>
<display>Twenty</display>
<description>20 to Twenty</description>
</mapping-table>
</mapping-tables>
<constraints>
<contraint>
<expression>a_property&gt;10</expression>
<enforce>BY_APPLICATION</enforce>
<dependency>a_property</dependency>
<message>a_property is larger than 10</message>
</contraint>
<contraint>
<expression>a_property&lt;1000</expression>
<enforce>BY_APPLICATION</enforce>
<dependency>a_property</dependency>
<message>a_property is less than 1000</message>
</contraint>
</constraints>
<help-text>The help of the attr a_property</help-text>
<comment-text>The comment of the attr a_property</comment-text>
<lifecycles>
<lifecycle id="4600000580004914">
<state name="state1">
<property-of-lifecycle hidden="false" label="..."
notnull="false" notnull-enforce="BY_APPLICATION"
notnull-message="a_property is not nullable"
readonly="false" required="false" searchable="true"
ignore-immutable="true" ignore-parent-constraints="true">
<value-assist>
<fixed-list allow-user-values="true">
<value>...</value>
</fixed-list>
</value-assist>
<constraints>
...
</constraints>
</property-of-lifecycle>
</state>
<state name="state2">
<property-of-lifecycle hidden="false" label="..."
notnull="false" notnull-enforce="BY_APPLICATION"
notnull-message="a_property is not nullable"
readonly="false" required="false" searchable="true"
ignore-immutable="true" ignore-parent-constraints="true">
<dependencies>
<item>...</item>
</dependencies>
<value-assist>
<fixed-list allow-user-values="false" condition="...">
<value>...</value>
</fixed-list>
<fixed-list allow-user-values="false" condition="...">
<value>...</value>
</fixed-list>
<fixed-list allow-user-values="false">
<value>...</value>
</fixed-list>
</value-assist>
<constraints>
...
</constraints>
</property-of-lifecycle>
</state>
</lifecycle>
</property>
...
</properties>
<lifecycles>
<lifecycle id="4600000580004914">
<state name="state1">
<type-of-lifecycle default-lifecycle="xx"
default-lifecycle-version="xx" label="xx"/>
</state>
<state name="state2">
<type-of-lifecycle default-lifecycle="yy"
default-lifecycle-version="yy" label="yy"/>
</state>
</lifecycle>
</lifecycles>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_document.xml"/>
<link rel="http://identifiers.emc.com/linkrel/types"
href="http://localhost:8080/dctm-rest/repositories/REPO/types.xml?
parent-type=dm_document"/>
<link rel="parent"
href="http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_sysobject.xml"/>
<link rel="http://identifiers.emc.com/linkrel/assist-values"
href="http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_document/
assist-values"/>
<link rel="http://identifiers.emc.com/linkrel/lifecycle"
title="xxx"
href="xxx"/>
</links>
</type>
"display-configs" : [ {
"name" : "config1",
"id" : "6b0000058000050a",
"attribute-source" : "dm_document",
"fixed-display" : false,
"attribute-hints" : [ {
"attribute" : "int_attr1",
"display-hint" : 1
}]
}]
}],
"properties": [
{
"name": "object_name",
"repeating": false,
"type": "string",
"length": 255,
"label": "Name",
"hidden": false,
"required": false,
"notnull": true,
"notnull-enforce" : "BY_APPLICATION",
"notnull-message" : "a_property is not null",
"readonly": false,
"searchable": true,
"display-hint" : 0,
"help-text" : "The help of the attr a_property",
"comment-text" : "The comment of the attr a_property",
"category" : "category a_property",
"ignore-immutable" : true,
"ignore-parent-constraints" : true,
"dependencies":["attr1","attr2"],
"mapping-tables" : [
{
"value" : "10",
"display" : "Ten",
"description" : "10 to Ten"
},
{
"value" : "20",
"display" : "Twenty",
"description" : "20 to Twenty"
}
],
"constraints" : [
{
"expression" : "a_property>10",
"enforce" : "BY_APPLICATION",
"dependency" : "a_property",
"message" : "a_property is larger than 10"
},
{
"expression" : "a_property<1000",
"enforce" : "DISABLED",
"dependency" : "a_property",
"message" : "a_property is less than 1000"
}
],
"value-assist" : [
{
"type" : "query",
"condition" : "...",
"query-attribute" : "...",
"query-expression" : "...",
"allow-caching" : false,
"allow-user-values" : false
},
{
"type" : "query",
"query-attribute" : "...",
"query-expression" : "...",
"allow-caching" : false,
"allow-user-values" : true
}
],
"lifecycles" : {
"4600000580004914" : {
"state1" : {
"label" : "...",
"hidden" : false,
"required" : false,
"notnull" : false,
"notnull-enforce" : "BY_APPLICATION",
"notnull-message" : "a_property is not null",
"readonly" : false,
"searchable" : true,
"ignore-immutable" : true,
"ignore-parent-constraints" : true,
"dependencies" : [
"..."
],
"value-assist" : [
{
"type" : "query",
"condition" : "...",
"query-attribute" : "...",
"query-expression" : "...",
"allow-caching" : true,
"allow-user-values" : false
},
{
"type" : "query",
"query-attribute" : "...",
"query-expression" : "...",
"allow-caching" : false,
"allow-user-values" : true
}
],
"constraints" : [
...
]
},
"state2" : {
"label" : "b",
"hidden" : false,
"required" : false,
"notnull" : false,
"notnull-enforce" : "BY_APPLICATION",
"notnull-message" : "a_property is not null",
"readonly" : false,
"searchable" : true,
"ignore-immutable" : true,
"ignore-parent-constraints" : true,
"dependencies" : [
"..."
],
"value-assist" : [
{
"type" : "query",
"condition" : "...",
"query-attribute" : "...",
"query-expression" : "...",
"allow-caching" : true,
"allow-user-values" : true
},
{
"type" : "fixed-list",
"values" : [
"..."
],
"allow-user-values" : false
}
],
"constraints" : [
...
]
}
}
},
{
"name": "r_object_type",
"repeating": false,
"type": "string",
"length": 32,
"label": "Type",
"hidden": false,
"required": false,
"notnull": false,
"readonly": true,
"searchable": true
},
{
"name": "title",
"repeating": false,
"type": "string",
"length": 400,
"label": "Title",
"hidden": false,
"required": false,
"notnull": false,
"readonly": false,
"searchable": true
},
...
{
"name": "i_is_replica",
"repeating": false,
"type": "boolean",
"label": "Is Replica",
"hidden": true,
"required": false,
"notnull": false,
"readonly": true,
"searchable": true
},
{
"name": "i_vstamp",
"repeating": false,
"type": "integer",
"label": "Version Stamp",
"hidden": true,
"required": false,
"notnull": false,
"readonly": true,
"searchable": false
}
],
"lifecycles" : {
"4600000580004914" : {
"state1" : {
"label" : "Document",
"default-lifecycle" : "xx",
"default-lifecycle-version" : "xx"
},
"state2" : {
"label" : "Document",
"default-lifecycle" : "xx",
"default-lifecycle-version" : "xx"
}
}
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_document"
},
{
"rel": "http://identifiers.emc.com/linkrel/types",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types?parent-
type=dm_document"
},
{
"rel": "parent",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_sysobject"
},
{
"rel": "http://identifiers.emc.com/linkrel/assist-values",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_document/
assist-values"
},
{
"rel": "http://identifiers.emc.com/linkrel/lifecycle",
"title" : "xxx",
"href": "xxx"
}
]
}
• <display-hint> (property level only): Display-hint is the related display hint for the
property, which is added only when both the <scope-config> and <display-config>
are provided as Request parameters
• <ignore-parent-constraints> (under both type and property level): Whether or not
to ignore the parent type's constraints
• <constraints> (under both type and property level): The value constraints for the
type and properties
• <notnull-enforce> (property level only): How the <notnull> is enforced, can be BY_
APPLICATION or DISABLED
When you use the <include-auditable-events> parameter and set its value to true, the
response will contain both the <auditable-system-events> and the<auditable-app-events>.
...
</type>
...
],
"auditable-app-events" : [
"my_app_event1",
"my_app_event2",
"my_app_event3",
...
],
...
}
When you use the <include-display-configs> parameter and set its value to <true>, the
Response will contain both the scope configuration and the display configuration
information.
<type>
...
<scope-configs>
<scope-config>
<id>6c00000580000100</id>
<scope>
<item>webtop</item>
</scope>
<category>
<item>application</item>
</category>
<display-configs>
<display-config>
<id>6b00000580000100</id>
<name>dm_info</name>
<attribute-source>dm_sysobject</attribute-source>
<fixed-display>false</fixed-display>
<attribute-hints>
<attribute-hint>
<attribute>object_name</attribute>
<display-hint>0</display-hint>
</attribute-hint>
...
<attribute-hint>
<attribute>r_creation_date</attribute>
<display-hint>2</display-hint>
</attribute-hint>
...
</attribute-hints>
</display-config>
</display-configs>
</scope-config>
<scope-config>
<id>6c00000580000101</id>
<scope>
<item>DcDesktopClient</item>
</scope>
<category>
<item>application</item>
</category>
<display-configs>
...
</display-configs>
</scope-config>
...
</scope-configs>
...
</type>
When you use the <include-mapping-tables> parameter and set its value to <true>, the
Response will contain the mapping table information for both the type and the
properties.
<type>
...
<mapping-tables>
<mapping-table>
<value>dm_info</value>
<display>Info</display>
</mapping-table>
<mapping-table>
<value>dm_general</value>
<display>General</display>
</mapping-table>
...
</mapping-tables>
<properties>
<property name="owner_permit" ...>
<mapping-tables>
<mapping-table>
<value>1</value>
<display>None</display>
</mapping-table>
<mapping-table>
<value>2</value>
<display>Browse</display>
</mapping-table>
<mapping-table>
<value>3</value>
<display>Read</display>
</mapping-table>
...
</mapping-tables>
</property>
...
</properties>
...
</type>
{
...
"mapping-tables" : [
{
"value" : "dm_info",
"display" : "Info"
},
{
"value" : "dm_general",
"display" : "General"
},
...
],
"properties" : [
{
"name" : "owner_permit",
...
"mapping-tables" : [
{
"value" : "1",
"display" : "None"
},
{
"value" : "2",
"display" : "Browse"
},
{
"value" : "3",
"display" : "Read"
},
...
]
},
...
],
...
}
When you use the <include-value-constraints> parameter and set its value to true, the
Response will contain constraints for both the type and properties.
<type>
...
<constraints>
<constraint>
<expression>property_c<10000</expression>
<enforce>BY_APPLICATION</enforce>
<dependency>property_c</dependency>
<message>property_c must be less than 10000</message>
</constraint>
<constraint>
<expression>Len(property_d) < 100</expression>
<enforce>DISABLED</enforce>
<dependency>property_d</dependency>
<message>property_d must have less than 100 characters</message>
</constraint>
...
</constraints>
<properties>
<property name="property_a" ...>
...
<constraints>
<constraint>
<expression>property_a > 10</expression>
<enforce>BY_APPLICATION</enforce>
<dependency>property_a</dependency>
<message>property_a is larger than 10</message>
</constraint>
<constraint>
<expression>property_a<1000</expression>
<enforce>BY_APPLICATION</enforce>
<dependency>property_a</dependency>
<message>property_a is less than 1000</message>
</constraint>
</constraints>
</property>
...
</properties>
...
</type>
{
...
"constraints" : [
{
"expression" : "property_c<10000",
"enforce" : "BY_APPLICATION",
"dependency" : "property_c",
"message" : "property_c must be less than 10000"
},
{
"expression" : "Len(property_d) < 100",
"enforce" : "DISABLED",
"dependency" : "property_d",
"message" : "property_d must have less than 100 characters"
}
...
],
"properties" : [
{
"name" : "property_a",
...
"constraints" : [
{
"expression" : "property_a > 10",
"enforce" : "BY_APPLICATION",
"dependency" : "property_a",
"message" : "property_a is larger than 10"
},
{
"expression" : "property_a<1000",
"enforce" : "BY_APPLICATION",
"dependency" : "property_a",
"message" : "property_a is less than 1000"
}
]
},
...
],
...
}
When you use the <include-value-assist> parameter and set its value to true, the
Response will contain the value assistance definition.
<type>
...
<properties>
<property name="property_a">
...
<value-assist>
<fixed-list allow-user-values="false">
<value>1</value>
<value>2</value>
<value>3</value>
</fixed-list>
</value-assist>
</property>
<property name="property_b">
...
<dependencies>
<item>property_b</item>
</dependencies>
<value-assist>
<query allow-caching="false" allow-user-values="false"
condition="property_a=1"
query-attribute="user_name">select user_name from dm_user</query>
<query allow-caching="false" allow-user-values="true"
condition="property_a=2"
query-attribute="name">select name from dm_format</query>
<fixed-list allow-user-values="false">
<value>b</value>
<value>bb</value>
<value>bbb</value>
</fixed-list>
</value-assist>
</property>
...
</properties>
...
</type>
"allow-user-values" : false
},
{
"type" : "query",
"condition" : "property_a=2",
"query-attribute" : "name",
"query-expression" : "select name from dm_format",
"allow-caching" : false,
"allow-user-values" : true
},
{
"type" : "fixed-list",
"values" : [
"b",
"bb",
"bbb"
],
"allow-user-values" : false
}
]
},
...
],
...
}
When you use the <include-lifecycle> parameter and set its value to true, the
Response contains different lifecycle values according to individual lifecycle states.
Currently, the server supports the information retrieval for the following Lifecycle
states:
Type
• <default-lifecycle>
• <default-lifecycle-version>
• <ignore-parent-constraints>
• <constraints>
Property
• <label>
• <hidden>
• <required>
• <notnull>
• <notnull-enforce>
• <notnull-message>
• <readonly>
• <searchable>
• <ignore-parent-constraints>
• <ignore-immutable>
• <dependencies>
• <value-assist>
• <constraints>
Only those values that are different than the <type> or <property> without the
Lifecycle are returned. Duplicate values are not returned.
<type>
...
<properties>
<property name="property_a" ...>
...
<lifecycles>
<lifecycle id="4600000580006b20">
<state name="state_1">
<property-of-lifecycle>
<dependencies>
<item>property_b</item>
</dependencies>
<value-assist>
<fixed-list allow-user-values="false"
condition="property_b>1">
<value>1000</value>
</fixed-list>
<fixed-list allow-user-values="false">
<value>9999</value>
</fixed-list>
</value-assist>
</property-of-lifecycle>
</state>
<state name="state_2">
<property-of-lifecycle>
...
</property-of-lifecycle>
</state>
</lifecycle>
<lifecycle id="4600000580006b21">
...
</lifecycle>
</lifecycles>
</property>
...
</properties>
<lifecycles>
<lifecycle id="4600000580006b20">
<state name="state_1">
<type-of-lifecycle default-lifecycle="4600000580006b20"
default-lifecycle-version="CURRENT"/>
</state>
<state name="state_2">
<type-of-lifecycle default-lifecycle="4600000580006b21"
default-lifecycle-version="CURRENT"/>
</state>
</lifecycle>
</lifecycles>
...
</type>
...
}
When you want to retrieve all of the ‘<include-xxx>’ type values in the response, use
the <include-all> parameter and set its value to true.
When you use the <scope-config> and <display-config> parameters, then only those
properties that are defined in the related display config are returned. These two
parameters must be provided together. The <display-hint> value is returned in
addition to the normal information that is returned.
{
"name" : "dm_document",
"label" : "Document",
"category" : "standard",
"parent" : "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_sysobject",
"ignore-parent-constraints" : false,
"properties" : [
{
"name" : "object_name",
"repeating" : false,
"type" : "string",
"length" : 255,
"label" : "Name",
"hidden" : false,
"required" : false,
"notnull" : false,
"readonly" : false,
"searchable" : true,
"ignore-immutable" : false,
"ignore-parent-constraints" : false
},
{
"name" : "r_object_type",
"repeating" : false,
"type" : "string",
"length" : 32,
"label" : "Type",
"hidden" : false,
"required" : false,
"notnull" : false,
"readonly" : true,
"searchable" : true,
"ignore-immutable" : false,
"ignore-parent-constraints" : false
},
...
],
"links" : [
{
"rel" : "self",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_document"
},
{
"rel" : "http://identifiers.emc.com/linkrel/types",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/types?parent-
type=dm_document"
},
{
"rel" : "parent",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_sysobject"
},
{
"rel" : "http://identifiers.emc.com/linkrel/assist-values",
"href" : "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_document/
assist-values"
}
]
}
2.73.2 Types
The Types collection resource represents the collection of type objects in a
repository.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.73.2.2 Feed
Is this resource a feed? Yes.
2.73.2.4 Operations
2.73.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a collection of types from the
repository.
• sort
• start-with
• inline
• recursive
• items-per-page
• page
• include-total
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
<id>http://localhost:8080/dctm-rest/repositories/REPO/types</id>
<title>Types</title>
<author>
<name>OpenText Documentum</name>
</author>
<updated>2015-11-18T02:43:19.185+00:00</updated>
<dm:page>1</dm:page>
<dm:items-per-page>1</dm:items-per-page>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/types.xml?items-per-
page=1"/>
<link rel="next"
href="http://localhost:8080/dctm-rest/repositories/REPO/types.xml?
items-per-page=1&page=2"/>
<link rel="first"
href="http://localhost:8080/dctm-rest/repositories/REPO/types.xml?
items-per-page=1&page=1"/>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/types/dm_acl</id>
<title>dm_acl</title>
<author>
<name>REPO_ADMIN</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/REPO_ADMIN.xml</
uri>
</author>
<summary>0300000580000101</summary>
<updated>2015-11-18T02:43:19.185+00:00</updated>
<published>2015-11-18T02:43:19.185+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/types/dm_acl.xml"/>
<content type="application/xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_acl.xml"/>
</entry>
</feed>
"entries": [
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_acl",
"title": "dm_acl",
"author": [
{
"name": "REPO_ADMIN",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/users/
REPO_ADMIN"
}
],
"summary": "0300000580000101",
"updated": "2015-11-18T02:42:39.443+00:00",
"published": "2015-11-18T02:42:39.443+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_acl"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_acl"
}
}
]
}
Note: In release 7.1, the MIME type property was named content-type. This
name was deprecated and replaced with MIME type property name type. You
can set the rest.api.compatibility.version property in rest-api-
runtime.properties to 7.1 for backward compatibility.
<dm:items-per-page>1</dm:items-per-page>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/types.xml?
items-per-page=1&amp;inline=true&amp;dml-view=all"/>
<link rel="next"
href="http://localhost:8080/dctm-rest/repositories/REPO/types.xml?
items-per-page=1&amp;inline=true&amp;dml-
view=all&amp;page=2"/>
<link rel="first"
href="http://localhost:8080/dctm-rest/repositories/REPO/types.xml?
items-per-page=1&amp;inline=true&amp;dml-
view=all&amp;page=1"/>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/types/dm_acl</id>
<title>dm_acl</title>
<author>
<name>REPO_ADMIN</name>
<uri>http://localhost:8080/dctm-rest/repositories/REPO/users/REPO_ADMIN.xml</uri>
</author>
<summary>0300000580000101</summary>
<updated>2015-11-18T02:51:22.187+00:00</updated>
<published>2015-11-18T02:51:22.187+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/types/dm_acl.xml"/>
<content>
<dm:type name="dm_acl" label="ACL" category="standard">
<dm:properties>
<property name="object_name" repeating="false" type="string" length="32"
label="Permissions Set Name" hidden="false" required="false"
notnull="false" readonly="false" searchable="true"/>
<property name="description" repeating="false" type="string" length="128"
label="Permissions Set Description" hidden="false"
required="false"
notnull="false" readonly="false" searchable="true"/>
<property name="owner_name" repeating="false" type="string" length="255"
label="Permissions Set Owner" hidden="false" required="false"
notnull="false" readonly="false" searchable="true"/>
<property name="r_is_internal" repeating="false" type="boolean" label="Is
Internal"
hidden="false" required="false" notnull="false" readonly="true"
searchable="false"/>
<property name="r_accessor_name" repeating="true" type="string" length="255"
label="Permissions Set Members" hidden="false" required="false"
notnull="false" readonly="true" searchable="true"/>
<property name="r_accessor_permit" repeating="true" type="integer"
label="Assigned Permission" hidden="false" required="false"
notnull="false" readonly="true" searchable="true"/>
<property name="r_accessor_xpermit" repeating="true" type="integer"
label="Extended Permissions" hidden="false" required="false"
notnull="false" readonly="true" searchable="true"/>
<property name="r_is_group" repeating="true" type="boolean" label="Is Group"
hidden="false" required="false" notnull="false" readonly="true"
searchable="true"/>
<property name="globally_managed" repeating="false" type="boolean"
label="Global"
hidden="false" required="false" notnull="false" readonly="false"
searchable="true"/>
<property name="acl_class" repeating="false" type="integer" label="ACL
Class"
hidden="false" required="false" notnull="false" readonly="false"
searchable="true"/>
<property name="r_has_events" repeating="false" type="boolean" label="Has
Events"
hidden="false" required="false" notnull="false" readonly="true"
searchable="true"/>
<property name="r_permit_type" repeating="true" type="integer" label="Permit
Type"
hidden="false" required="false" notnull="false" readonly="true"
searchable="true"/>
<property name="r_application_permit" repeating="true" type="string"
length="128"
label="Application Permit" hidden="false" required="false"
notnull="false" readonly="true" searchable="true"/>
<property name="i_has_required_groups" repeating="false" type="boolean"
label="Has Yes Group(s)" hidden="true" required="false"
notnull="false" readonly="true" searchable="true"/>
<property name="i_has_required_group_set" repeating="false" type="boolean"
label="Has Yes Group Set" hidden="true" required="false"
notnull="false" readonly="true" searchable="true"/>
<property name="i_has_access_restrictions" repeating="false" type="boolean"
label="Has Access Restrictions" hidden="true" required="false"
notnull="false" readonly="true" searchable="true"/>
<property name="r_template_id" repeating="false" type="String" length="16"
label="Template ID" hidden="false" required="false"
notnull="false"
readonly="true" searchable="true"/>
<property name="r_alias_set_id" repeating="false" type="String" length="16"
label="Alias Set ID" hidden="false" required="false"
notnull="false"
readonly="true" searchable="true"/>
<property name="i_partition" repeating="false" type="integer"
label="Partition Number" hidden="true" required="false"
notnull="false" readonly="true" searchable="true"/>
<property name="i_is_replica" repeating="false" type="boolean"
label="Replica"
hidden="true" required="false" notnull="false" readonly="true"
searchable="true"/>
<property name="i_vstamp" repeating="false" type="integer" label="Version
Stamp"
hidden="true" required="false" notnull="false" readonly="true"
searchable="true"/>
</dm:properties>
<dm:links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_acl.xml"/>
<link rel="http://identifiers.emc.com/linkrel/types"
href="http://localhost:8080/dctm-rest/repositories/REPO/types.xml?
parent-type=dm_acl"/>
</dm:links>
</dm:type>
</content>
</entry>
</feed>
GET http://localhost:8080/dctm-rest/repositories/REPO/types?
items-per-page=1&inline=true&dml-view=all
Accept:application/vnd.emc.documentum+json
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/types",
"title": "Types",
"author": [
{
"name": "OpenText Documentum"
}
],
"updated": "2015-11-18T02:54:09.968+00:00",
"page": 1,
"items-per-page": 1,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types?
items-per-page=1&inline=true&dml-view=none"
},
{
"rel": "next",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types?
items-per-page=1&inline=true&dml-view=none&page=2"
},
{
"rel": "first",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types?
items-per-page=1&inline=true&dml-view=none&page=1"
}
],
"entries": [
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_acl",
"title": "dm_acl",
"author": [
{
"name": "REPO_ADMIN",
"uri": "http://localhost:8080/dctm-rest/repositories/REPO/users/REPO_ADMIN"
}
],
"summary": "0300000580000101",
"updated": "2015-11-18T02:54:09.969+00:00",
"published": "2015-11-18T02:54:09.969+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_acl"
}
],
"content": {
"name": "dm_acl",
"category" : "standard",
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types/dm_acl"
},
{
"rel": "http://identifiers.emc.com/linkrel/types",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/types?parent-
type=dm_acl"
}
]
}
}
]
}
The type_category attribute is used along with the filter query parameter and
the category type value to retrieve all of the types of a specified category. Here are
some examples that show you how to use the above type category values with the
filter query parameter. In each example, we use a repository name in the URL, the
filter query parameter, the type_category attribute, and one of the category
values (shown above) to retrieve all of the objects of that type.
In this example, we use a category value of 4 to get all of the lightweight object
types.
GET http://localhost:8080/dctm-rest/repositories/{repositoryName}/types?
filter=type_category=4
In this example, we use a category value of 2 to get all of the shareable object
types.
GET http://localhost:8080/dctm-rest/repositories/{repositoryName}/types?
filter=type_category=2
See Also: “Users” on page 774 and About the Diagram on page 17.
2.74.1.2 Feed
No feed support.
2.74.1.4 Operations
2.74.1.4.1 Supported HTTP methods
Method Description
GET Retrieves a User
POST Update a User
DELETE Delete a User
GET
• view
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
groups.xml?user-name=Administrator" />
<link rel="http://identifiers.emc.com/linkrel/default-folder"
href="http://localhost:8080/dctm-rest/repositories/REPO/users/
Administrator/home.xml" />
</links>
</user>
Administrator/home.json"}]
}
POST
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• i_vstamp
• i_is_replica
• r_has_events
• r_modify_date
• r_is_group
</properties>
</user>
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
<dm:group_def_permit>5</dm:group_def_permit>
<dm:default_folder href="http://localhost:8080/dctm-rest/repositories/acme/users
/61636d65/home.xml">/acme</dm:default_folder>
<dm:r_is_group>false</dm:r_is_group>
<dm:user_db_name>acme</dm:user_db_name>
<dm:acl_domain>acme</dm:acl_domain>
<dm:acl_name>dm_4500000180000100</dm:acl_name>
<dm:user_os_domain>2k8vm</dm:user_os_domain>
<dm:user_state>0</dm:user_state>
<dm:client_capability>8</dm:client_capability>
<dm:globally_managed>false</dm:globally_managed>
<dm:r_modify_date>2012-08-31T22:42:42.000+0800</dm:r_modify_date>
<dm:workflow_disabled>false</dm:workflow_disabled>
<dm:alias_set_id>0000000000000000</dm:alias_set_id>
<dm:user_xprivileges>0</dm:user_xprivileges>
<dm:r_has_events>false</dm:r_has_events>
<dm:failed_auth_attempt>0</dm:failed_auth_attempt>
<dm:user_global_unique_id>2k8vm:acme</dm:user_global_unique_id>
<dm:user_login_name>acme</dm:user_login_name>
<dm:user_login_domain>2k8vm</dm:user_login_domain>
<dm:last_login_utc_time>2012-08-31T14:42:42.000+0800
</dm:last_login_utc_time>
<dm:i_is_replica>false</dm:i_is_replica>
<dm:i_vstamp>0</dm:i_vstamp>
</dm:attributes>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/acme/users/61636d65.xml"/>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/acme/users/61636d65.xml"/>
<link rel="delete"
href="http://localhost:8080/dctm-rest/repositories/acme/users/61636d65.xml"/>
<link rel="parent"
href="http://localhost:8080/dctm-rest/repositories/acme/groups.xml?
username=61636d65"/>
<link rel="http://names.emc.com/link/documentum/relations/default-folder"
href="http://localhost:8080/dctm-rest/repositories/acme/users/61636d65/
home.xml"/>
</dm:dm_user>
"failed_auth_attempt" : 0,
"user_global_unique_id" : "2k8vm:acme",
"user_login_name" : "acme",
"user_login_domain" : "2k8vm",
"last_login_utc_time" : "2012-08-31T14:42:42.000+0800",
"i_is_replica" : false,
"i_vstamp" : 0
},
"links" : [ {
"rel" : "self",
"href" : "http://localhost:8080/dctm-rest/repositories/acme/users/61636d65.json"
}, {
"rel" : "edit",
"href" : "http://localhost:8080/dctm-rest/repositories/acme/users/61636d65.json"
}, {
"rel" : "delete",
"href" : "http://localhost:8080/dctm-rest/repositories/acme/users/61636d65.json"
}, {
"rel" : "parent",
"href" : "http://localhost:8080/dctm-rest/repositories/acme/groups.json?
username=61636d65"
}, {
"rel" : "http://names.emc.com/link/documentum/relations/default-folder",
"href" : "http://localhost:8080/dctm-rest/repositories/acme/users/61636d65/home.json"
} ]
}
Only the SysAdmin or SuperUser can perform a delete operation. When a user has
been deleted, the deletion may have an impact on the user's authentication.
DELETE
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
2.74.2 Users
The Users resource represents the metadata of a collection of users in a repository.
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.74.2.2 Feed
Is this resource a feed? Yes.
2.74.2.4 Operations
2.74.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a collection of Users and their
metadata
POST Creates a new User in a repository
GET
• sort
• view
Please see the Note below.
• inline
Please see the Note below.
• page
• items-per-page
• include-total
• links
• filter
One of these attributes, the definition property, which is used to identify the
entity's type, will always be set to dm_user by default. This is the case even
when the entity is in fact a subtype of dm_user.
To retrieve the correct entity type definition for the Users retrieved, you must
set the view=:all parameter to retrieve Users.
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
N/A
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
Create a new user in a repository. The Sysadmin, SuperUser, or any other users that
have the <Create Group> privilege can create a user.
POST
For more information, see Appendix B, REST Common Definition - URI Request
Query Parameters on page 979.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/xml
• application/json
• Accept
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
See Also: “User” on page 765 and About the Diagram on page 17.
2.75.2 Feed
No feed support.
2.75.4 Operations
2.75.4.1 Supported HTTP methods
Method Description
GET Retrieves the default folder for a given user.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Accept
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• The body must contain information about the default folder of the specified user.
• The body may contain all attributes of the default folder, depending on the value
that is set for the view parameter.
GET http://localhost:8080/dctm-rest/repositories/acme01/users/<username>/home
<link rel="http://names.emc.com/link/documentum/relations/folders"
href="http://localhost:8080/dctm-rest/repositories/acme01/cabinets/
0c00000c80000104/
folders.xml"/>
<link rel="http://names.emc.com/link/documentum/relations/documents"
href="http://localhost:8080/dctm-rest/repositories/acme01/cabinets/
0c00000c80000104/
documents.xml"/>
<link rel="http://names.emc.com/link/documentum/relations/objects"
href="http://localhost:8080/dctm-rest/repositories/acme01/cabinets/
0c00000c80000104/
objects.xml"/>
</dm:dm_cabinet>
GET http://localhost:8080/dctm-rest/repositories/acme01/users/<username>/home
When the default_acl property of the server configuration object has a value of
<3>, the creator's default permissions (or ACL) are used as the default ACL of the
new object. This is the case when an ACL is not explicitly associated with the object.
When you have the associated permission set of a user, you can view the default
permission set of all the sysobjects that were created by that user. You can also see
any change of that user's permission set to determine how that change may effect the
default permission set of any sysobjects that are created by that user in the future.
See Also: “User” on page 765 and About the Diagram on page 17.
2.76.2 Feed
No feed support.
2.76.4 Operations
2.76.4.1 Supported HTTP methods
Method Description
GET GET the permission set for a specific user
N/A
• Accept
• Authorization
• For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
• Content-Type
• For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
href="{aclResourceUri}"/>
</links>
</permission-set>
See Also: “User Subscriptions” on page 797 and About the Diagram on page 17.
2.77.1.2 Feed
No feed support.
Note: The link relations for this resource are the same as those for the
SysObject resource.
2.77.1.4 Operations
2.77.1.4.1 Supported HTTP methods
Method Description
PUT Subscribes users to the object
DELETE Unsubscribes the current user from the object
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
The value of the subscribed user is that user’s username or its URI.
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
<r_frozen_flag>false</r_frozen_flag>
<r_has_events>false</r_has_events>
<acl_domain>dmadmin</acl_domain>
<acl_name>dm_4502791780002500</acl_name>
<a_special_app></a_special_app>
<i_is_reference>false</i_is_reference>
<r_creator_name>dmadmin</r_creator_name>
<r_is_public>true</r_is_public>
<r_policy_id>0000000000000000</r_policy_id>
<r_resume_state>0</r_resume_state>
<r_current_state>0</r_current_state>
<r_alias_set_id>0000000000000000</r_alias_set_id>
<a_effective_date xsi:nil="true"/>
<a_expiration_date xsi:nil="true"/>
<a_publish_formats xsi:nil="true"/>
<a_effective_label xsi:nil="true"/>
<a_effective_flag xsi:nil="true"/>
<a_category></a_category>
<language_code></language_code>
<a_is_template>false</a_is_template>
<a_controlling_app></a_controlling_app>
<r_full_content_size>18040.0</r_full_content_size>
<a_extended_properties xsi:nil="true"/>
<a_is_signed>false</a_is_signed>
<a_last_review_date xsi:nil="true"/>
<i_retain_until xsi:nil="true"/>
<r_aspect_name xsi:nil="true"/>
<i_retainer_id xsi:nil="true"/>
<i_partition>0</i_partition>
<i_is_replica>false</i_is_replica>
<i_vstamp>17</i_vstamp>
<r_object_id>09027917800106dd</r_object_id>
</properties>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
subscription"/>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd"/>
<link rel="canonical"
href="http://localhost:8080/dctm-rest/repositories/repo/documents/
09027917800106dd"/>
<link rel="http://identifiers.emc.com/linkrel/parent-links"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
parent-links"/>
<link rel="parent" title="0c02791780009423"
href="http://localhost:8080/dctm-rest/repositories/repo/folders/
0c02791780009423"/>
<link rel="http://identifiers.emc.com/linkrel/cabinet"
href="http://localhost:8080/dctm-rest/repositories/repo/cabinets/
0c02791780009423"/>
<link rel="contents"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
contents"/>
<link rel="http://identifiers.emc.com/linkrel/primary-content"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
contents/content"/>
<link rel="http://identifiers.emc.com/linkrel/checkout"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/lock"/>
<link rel="version-history"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
versions"/>
<link rel="http://identifiers.emc.com/linkrel/current-version"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
versions/current"/>
<link rel="http://identifiers.emc.com/linkrel/virtual-document-conversion"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
vd-nodes"/>
<link rel="http://identifiers.emc.com/linkrel/relations"
href="http://localhost:8080/dctm-rest/repositories/repo/relations?
related-object-id=09027917800106dd&related-object-role=any"/>
<link rel="http://identifiers.emc.com/linkrel/object-aspects"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
aspects"/>
<link rel="http://identifiers.emc.com/linkrel/permission-set"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
permission-set"/>
<link rel="http://identifiers.emc.com/linkrel/permissions"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
permissions"/>
<link rel="http://identifiers.emc.com/linkrel/comments"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
comments"/>
<link rel="http://identifiers.emc.com/linkrel/attachable-lifecycles"
href="http://localhost:8080/dctm-rest/repositories/repo/lifecycles?
object-id=09027917800106dd"/>
<link rel="http://identifiers.emc.com/linkrel/object-lifecycle"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
lifecycle"/>
<link rel="http://identifiers.emc.com/linkrel/audit-trails"
href="http://localhost:8080/dctm-rest/repositories/repo/audit-trails?
filter=audited_obj_id='09027917800106dd'"/>
<link rel="http://identifiers.emc.com/linkrel/unsubscribe"
href="http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
subscription"/>
</links>
</object>
"i_is_deleted": false,
"a_retention_date": null,
"a_archive": false,
"a_compound_architecture": "",
"a_link_resolved": false,
"i_reference_cnt": 1,
"i_has_folder": true,
"i_folder_id": [
"0c02791780009423"
],
"r_composite_id": null,
"r_composite_label": null,
"r_component_label": null,
"r_order_no": null,
"r_link_cnt": 0,
"r_link_high_cnt": 0,
"r_assembled_from_id": "0000000000000000",
"r_frzn_assembly_cnt": 0,
"r_has_frzn_assembly": false,
"resolution_label": "",
"r_is_virtual_doc": 0,
"i_contents_id": "060279178002fab2",
"a_content_type": "jpeg",
"r_page_cnt": 1,
"r_content_size": 18040,
"a_full_text": true,
"a_storage_type": "filestore_01",
"i_cabinet_id": "0c02791780009423",
"owner_name": "dmadmin",
"owner_permit": 7,
"group_name": "",
"group_permit": 5,
"world_permit": 3,
"i_antecedent_id": "0000000000000000",
"i_chronicle_id": "09027917800106dd",
"i_latest_flag": true,
"r_lock_owner": "",
"r_lock_date": null,
"r_lock_machine": "",
"log_entry": "",
"r_version_label": [
"1.0",
"CURRENT"
],
"i_branch_cnt": 0,
"i_direct_dsc": false,
"r_immutable_flag": false,
"r_frozen_flag": false,
"r_has_events": false,
"acl_domain": "dmadmin",
"acl_name": "dm_4502791780002500",
"a_special_app": "",
"i_is_reference": false,
"r_creator_name": "dmadmin",
"r_is_public": true,
"r_policy_id": "0000000000000000",
"r_resume_state": 0,
"r_current_state": 0,
"r_alias_set_id": "0000000000000000",
"a_effective_date": null,
"a_expiration_date": null,
"a_publish_formats": null,
"a_effective_label": null,
"a_effective_flag": null,
"a_category": "",
"language_code": "",
"a_is_template": false,
"a_controlling_app": "",
"r_full_content_size": 18040,
"a_extended_properties": null,
"a_is_signed": false,
"a_last_review_date": null,
"i_retain_until": null,
"r_aspect_name": null,
"i_retainer_id": null,
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 16,
"r_object_id": "09027917800106dd"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
subscription"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd"
},
{
"rel": "canonical",
"href": "http://localhost:8080/dctm-rest/repositories/repo/documents/
09027917800106dd"
},
{
"rel": "http://identifiers.emc.com/linkrel/parent-links",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
parent-links"
},
{
"rel": "parent",
"title": "0c02791780009423",
"href": "http://localhost:8080/dctm-rest/repositories/repo/folders/
0c02791780009423"
},
{
"rel": "http://identifiers.emc.com/linkrel/cabinet",
"href": "http://localhost:8080/dctm-rest/repositories/repo/cabinets/
0c02791780009423"
},
{
"rel": "contents",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/contents"
},
{
"rel": "http://identifiers.emc.com/linkrel/primary-content",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/contents/
content"
},
{
"rel": "http://identifiers.emc.com/linkrel/checkout",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/lock"
},
{
"rel": "version-history",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/versions"
},
{
"rel": "http://identifiers.emc.com/linkrel/current-version",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/versions/
current"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-conversion",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/vd-nodes"
},
{
"rel": "http://identifiers.emc.com/linkrel/relations",
"href": "http://localhost:8080/dctm-rest/repositories/repo/relations?
related-object-id=09027917800106dd&related-object-role=any"
},
{
"rel": "http://identifiers.emc.com/linkrel/object-aspects",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/aspects"
},
{
"rel": "http://identifiers.emc.com/linkrel/permission-set",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
permission-set"
},
{
"rel": "http://identifiers.emc.com/linkrel/permissions",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
permissions"
},
{
"rel": "http://identifiers.emc.com/linkrel/comments",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/comments"
},
{
"rel": "http://identifiers.emc.com/linkrel/attachable-lifecycles",
"href": "http://localhost:8080/dctm-rest/repositories/repo/lifecycles?
object-id=09027917800106dd"
},
{
"rel": "http://identifiers.emc.com/linkrel/object-lifecycle",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/lifecycle"
},
{
"rel": "http://identifiers.emc.com/linkrel/audit-trails",
"href": "http://localhost:8080/dctm-rest/repositories/repo/audit-trails?
filter=audited_obj_id='09027917800106dd'"
},
{
"rel": "http://identifiers.emc.com/linkrel/unsubscribe",
"href": "http://localhost:8080/dctm-rest/repositories/repo/objects/
09027917800106dd/
subscription"
}
]
}
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
N/A
See Also: “Repository” on page 562 and About the Diagram on page 17.
2.77.2.2 Feed
Is this resource a feed? Yes.
2.77.2.4 Operations
2.77.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a listing of all objects to which the
current user has subscribed.
This operation retrieves all of the objects to which the current user has subscribed.
N/A
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
</entry>
</feed>
See Also: “Type” on page 726 and About the Diagram on page 17.
2.78.2 Feed
No feed support.
2.78.4 Operations
2.78.4.1 Supported HTTP methods
Method Description
POST Retrieves the Value Assistance and
dependency properties of the specified Type
The property
names are
comma
separated.
For example,
included-
properties
=attr1,
attr2,
attr3
lifecycle- The lifecycle string N/A null
id id property.
state The Lifecycle string N/A null
state string.
• Authorization
• Accept
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
The input available for one property of a certain type may depend on the value of
other properties. When you want to get the assist values for a property, you must
provide the values of dependent properties if there are dependencies.
Resources return multi-properties assist values, therefore you must provide all of
the dependent values that the assist values require.
Here are two code samples (one in XML and one in JSON) that illustrates this point:
For more information, see Appendix C, REST Common Definition - HTTP Status
Codes on page 985.
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
For more information, see “Virtual Document Nodes” on page 820 and About the
Diagrams on page 17.
2.79.1.2 Feed
No feed support.
2.79.1.4 Operations
2.79.1.4.1 Supported HTTP methods
Method Description
GET GET a Virtual Document Node
POST Update a Virtual Document Node
DELETE Delete a Virtual Document Node
When the
<object-id>
parameter is
set, the
properties of
the virtual
document
component,
defined by
the <object-
id>, is
returned.
When the
<object-id>
parameter is
not specified,
the properties
of the
CURRENT
version
virtual
document
component
are returned.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
The following table lists the attributes in the response payload of the virtual
document node:
Attribute Description
parent-id The r_object_id attribute of the node's
parent object.
chronicle-id The chronicle_id attribute of the node
object.
relation-id The r_object_id attribute of the dmr_
containment instance that connects the
parent and node.
Attribute Description
order-number The order_no attribute of the dmr_
containment instance that connects the
parent and node.
<r_full_content_size>0.0</r_full_content_size>
<a_is_signed>false</a_is_signed>
<i_partition>0</i_partition>
<i_is_replica>false</i_is_replica>
<i_vstamp>1</i_vstamp>
<r_object_id>0900000580004994</r_object_id>
</properties>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010c?object-id=0900000580004994&inline=true"/>
<link rel="http://identifiers.emc.com/linkrel/virtual-document-component"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004994"/>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010c?object-id="/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010c?object-id="/>
</links>
</vd-node>
{
"name": "vd-node",
"type": "dm_document",
"parent-id": "0900000580004993",
"chronicle-id": "0900000580004994",
"relation-id": "050000058000010c",
"order-number": 3000,
"binding": "",
"override-late-binding": false,
"copy-behavior": "UNSPECIFIED",
"follow-assembly": false,
"properties": {
"object_name": "restDoc70c04679-bfc6-4ea0-9548-c07184b74742",
"r_object_type": "dm_document",
"r_creation_date": "2017-07-05T02:30:51.000+00:00",
"r_modify_date": "2017-07-05T02:30:51.000+00:00",
"r_modifier": "dave",
"a_is_hidden": false,
"i_is_deleted": false,
"a_archive": false,
"a_link_resolved": false,
"i_reference_cnt": 1,
"i_has_folder": true,
"i_folder_id": [
"0c00000580000107"
],
"r_link_cnt": 0,
"r_link_high_cnt": 0,
"r_assembled_from_id": "0000000000000000",
"r_frzn_assembly_cnt": 1,
"r_has_frzn_assembly": false,
"r_is_virtual_doc": 0,
"i_contents_id": "0000000000000000",
"r_page_cnt": 0,
"r_content_size": 0,
"a_full_text": true,
"i_cabinet_id": "0c00000580000107",
"owner_name": "dave",
"owner_permit": 7,
"group_permit": 5,
"world_permit": 3,
"i_antecedent_id": "0000000000000000",
"i_chronicle_id": "0900000580004994",
"i_latest_flag": true,
"r_lock_owner": "dmadmin",
"r_lock_date": "2017-07-06T03:23:31.000+00:00",
"r_lock_machine": "cnenwangc31m2.corp.emc.com",
"r_version_label": [
"1.0",
"CURRENT"
],
"i_branch_cnt": 0,
"i_direct_dsc": false,
"r_immutable_flag": true,
"r_frozen_flag": false,
"r_has_events": false,
"acl_domain": "dave",
"acl_name": "dm_4500000580000d07",
"i_is_reference": false,
"r_creator_name": "dave",
"r_is_public": true,
"r_policy_id": "0000000000000000",
"r_resume_state": 0,
"r_current_state": 0,
"r_alias_set_id": "0000000000000000",
"a_is_template": false,
"r_full_content_size": 0,
"a_is_signed": false,
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 1,
"r_object_id": "0900000580004994"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010c?object-id=0900000580004994&inline=true"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-component",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004994"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
vd-relations/050000058000010c?object-id="
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010c?object-id="
}
]
}
• order-number
• binding
• override-late-binding
• copy-behavior
• follow-assembly
When you are updating a virtual document node, that node remains within its
specific parent virtual document. When attributes that are not to be updated are
included as part of an update operation, you must make sure that their defined
values align with their existing values. Otherwise, unwanted changes may occur.
Caution
Updating the relation-id, parent-id, or the chronicle-id attributes is
not supported by Documentum REST Services.
You can use the DFC to update the parent-id, and the chronicle-id
attributes. If you are updating any of these attributes, please note the
following items:
POST
• Authorization
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
A request is the representation of the virtual document node, with the exception of
the relation-id, the parent-id, and the chronicle-id attributes.
<dm:vd-node xmlns:dm="http://identifiers.emc.com/vocab/documentum">
<dm:order-number>3000</dm:order-number>
<dm:binding>CURRENT</dm:binding>
<dm:override-late-binding>true</dm:override-late-binding>
<dm:copy-behavior>UNSPECIFIED</dm:copy-behavior>
<dm:follow-assembly>false</dm:follow-assembly>
</dm:vd-node>
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<r_has_frzn_assembly>false</r_has_frzn_assembly>
<r_is_virtual_doc>0</r_is_virtual_doc>
<i_contents_id>0000000000000000</i_contents_id>
<r_page_cnt>0</r_page_cnt>
<r_content_size>0</r_content_size>
<a_full_text>true</a_full_text>
<i_cabinet_id>0c00000580000107</i_cabinet_id>
<owner_name>dave</owner_name>
<owner_permit>7</owner_permit>
<group_permit>5</group_permit>
<world_permit>3</world_permit>
<i_antecedent_id>0000000000000000</i_antecedent_id>
<i_chronicle_id>0900000580005556</i_chronicle_id>
<i_latest_flag>true</i_latest_flag>
<r_lock_owner>dmadmin</r_lock_owner>
<r_lock_date>2017-07-06T03:23:31.000+00:00</r_lock_date>
<r_lock_machine>cnenwangc31m2.corp.emc.com</r_lock_machine>
<r_version_label>
<item>1.0</item>
<item>CURRENT</item>
</r_version_label>
<i_branch_cnt>0</i_branch_cnt>
<i_direct_dsc>false</i_direct_dsc>
<r_immutable_flag>true</r_immutable_flag>
<r_frozen_flag>false</r_frozen_flag>
<r_has_events>false</r_has_events>
<acl_domain>dave</acl_domain>
<acl_name>dm_4500000580000d07</acl_name>
<i_is_reference>false</i_is_reference>
<r_creator_name>dave</r_creator_name>
<r_is_public>true</r_is_public>
<r_policy_id>0000000000000000</r_policy_id>
<r_resume_state>0</r_resume_state>
<r_current_state>0</r_current_state>
<r_alias_set_id>0000000000000000</r_alias_set_id>
<a_is_template>false</a_is_template>
<r_full_content_size>0.0</r_full_content_size>
<a_is_signed>false</a_is_signed>
<i_partition>0</i_partition>
<i_is_replica>false</i_is_replica>
<i_vstamp>1</i_vstamp>
<r_object_id>0900000580004994</r_object_id>
</properties>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
0500000580000511"/>
<link rel="http://identifiers.emc.com/linkrel/virtual-document-component"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580005556"/>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
0500000580000511"/>
<link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
0500000580000511"/>
</links>
</vd-node>
{
"name": "vd-node",
"parent-id": "09000005800048b3",
"chronicle-id": "0900000580002516",
"relation-id": "050000058000010c",
"order-number": 3000,
"binding": "CURRENT",
"override-late-binding": true,
"copy-behavior": "UNSPECIFIED",
"follow-assembly": false,
"properties": {
"object_name": "restDoc70c04679-bfc6-4ea0-9548-c07184b74742",
"r_object_type": "dm_document",
"r_creation_date": "2017-07-05T02:30:51.000+00:00",
"r_modify_date": "2017-07-05T02:30:51.000+00:00",
"r_modifier": "dave",
"a_is_hidden": false,
"i_is_deleted": false,
"a_archive": false,
"a_link_resolved": false,
"i_reference_cnt": 1,
"i_has_folder": true,
"i_folder_id": [
"0c00000580000107"
],
"r_link_cnt": 0,
"r_link_high_cnt": 0,
"r_assembled_from_id": "0000000000000000",
"r_frzn_assembly_cnt": 1,
"r_has_frzn_assembly": false,
"r_is_virtual_doc": 0,
"i_contents_id": "0000000000000000",
"r_page_cnt": 0,
"r_content_size": 0,
"a_full_text": true,
"i_cabinet_id": "0c00000580000107",
"owner_name": "dave",
"owner_permit": 7,
"group_permit": 5,
"world_permit": 3,
"i_antecedent_id": "0000000000000000",
"i_chronicle_id": "0900000580005556",
"i_latest_flag": true,
"r_lock_owner": "dmadmin",
"r_lock_date": "2017-07-06T03:23:31.000+00:00",
"r_lock_machine": "cnenwangc31m2.corp.emc.com",
"r_version_label": [
"1.0",
"CURRENT"
],
"i_branch_cnt": 0,
"i_direct_dsc": false,
"r_immutable_flag": true,
"r_frozen_flag": false,
"r_has_events": false,
"acl_domain": "dave",
"acl_name": "dm_4500000580000d07",
"i_is_reference": false,
"r_creator_name": "dave",
"r_is_public": true,
"r_policy_id": "0000000000000000",
"r_resume_state": 0,
"r_current_state": 0,
"r_alias_set_id": "0000000000000000",
"a_is_template": false,
"r_full_content_size": 0,
"a_is_signed": false,
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 1,
"r_object_id": "0900000580004994"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010c"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-component",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010c"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010c"
}
]
}
This operation removes the current node from the virtual document that is specified
in the parent-id attribute.
Tip: When a virtual document has only its root node, deleting that remaining
root node converts the virtual document into a simple document.
DELETE
Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
N/A
N/A
N/A
2.79.1.4.4.9 Examples
Request
DELETE http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/050000058000010c
Response
Status Code: 204 No Content
Request
DELETE http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
_root_node_id_050000058000010c
Response
For more information, see “SysObject” on page 690 and About the Diagrams
on page 17.
2.79.2.2 Feed
Is this resource a feed? Yes.
2.79.2.4 Operations
2.79.2.4.1 Supported HTTP methods
Method Description
GET Gets the virtual document hierarchy
POST Add a child node to a virtual document
Retrieves the virtual document hierarchy of a specified object. The object can be a
virtual document or an assembly object, which is also known as a “Virtual
Document Snapshot” on page 832.
<false> -
Does not
return the
virtual
document
node.
page For more information, see Appendix B, REST Common
Definition - URI Request Query Parameters on page 979.
links
items-per-
page
vdm-number The node's number in the string N/A null
virtual document tree.
For example 1.2.3
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/vnd.emc.documentum+json
• The response body contains a list of nodes that are present in the virtual
document.
• The vdm-number attribute is displayed in the summary property of each node,
with the exception of the root node.
• The collection of nodes displayed includes only those nodes to which the REST
client has access.
• Pagination is supported.
XML request
GET http://localhost:8080/dctm-rest/repositories/REPO/objects/09000005800048b3/
vd-nodes?inline=true
Accept: application/atom+xml
XML response
Status Code: 200 OK
Content-Type: application/atom+xml;charset=UTF-8
<dm:link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
_root_node_id_0900000580004959" />
</dm:links>
</dm:vd-node>
</content>
</entry>
<entry>
<id>0900000580004964</id>
<title>node-1.1</title>
<summary>1</summary>
<updated>2017-04-24T02:11:50.000+00:00</updated>
<published>2017-04-24T02:11:50.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b" />
<link rel="http://identifiers.emc.com/linkrel/virtual-document-component"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004964" />
<content>
<dm:vd-node xmlns:dm="http://identifiers.emc.com/vocab/documentum">
<dm:selected-object-name>node-1.1</dm:selected-object-name>
<dm:selected-object-id>0900000580004964</dm:selected-object-id>
<dm:parent-id>0900000580004959</dm:parent-id>
<dm:chronicle-id>090000058000495a</dm:chronicle-id>
<dm:relation-id>050000058000010b</dm:relation-id>
<dm:order-number>1000</dm:order-number>
<dm:binding>2.0</dm:binding>
<dm:override-late-binding>true</dm:override-late-binding>
<dm:copy-behavior>0</dm:copy-behavior>
<dm:follow-assembly>false</dm:follow-assembly>
<dm:node-id>0000000000000001</dm:node-id>
<dm:vdm-number>1</dm:vdm-number>
<dm:is-virtual-document>false</dm:is-virtual-document>
<dm:late-binding-value>2.0</dm:late-binding-value>
<dm:is-binding-broken>false</dm:is-binding-broken>
<dm:are-children-compound>false</dm:are-children-compound>
<dm:available-versions>
<dm:item>CURRENT</dm:item>
<dm:item>3.0</dm:item>
<dm:item>2.0</dm:item>
<dm:item>1.0</dm:item>
</dm:available-versions>
<dm:can-be-removed>true</dm:can-be-removed>
<dm:can-be-restructured>true</dm:can-be-restructured>
<dm:child-count>0</dm:child-count>
<dm:is-compound>false</dm:is-compound>
<dm:is-from-assembly>false</dm:is-from-assembly>
<dm:is-structurally-modified>false</dm:is-structurally-modified>
<dm:links>
<dm:link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b" />
<dm:link rel="http://identifiers.emc.com/linkrel/virtual-document-component"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000058000495a" />
<dm:link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b" />
<dm:link rel="http://identifiers.emc.com/linkrel/delete"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b" />
</dm:links>
</dm:vd-node>
</content>
</entry>
</feed>
JSON request
GET http://localhost:8080/dctm-rest/repositories/REPO/objects/09000005800048b3/
vd-nodes?inline=true
Accept: application/vnd.emc.documentum+json
JSON response
Status Code: 200 OK
Content-Type: application/vnd.emc.documentum+json;charset=UTF-8
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/objects/0900000580004959/
vd-nodes",
"title": "Virtual Document Nodes",
"author": [
{
"name": "OpenText Documentum"
}
],
"updated": "2017-04-24T02:15:26.498+00:00",
"page": 1,
"items-per-page": 100,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004959/
vd-nodes?inline=true"
}
],
"entries": [
{
"id": "0900000580004959",
"title": "node-0",
"updated": "2017-04-24T02:11:51.000+00:00",
"published": "2017-04-24T02:11:49.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
_root_node_id_0900000580004959"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-component",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004959"
}
],
"content": {
"name": "vd-node",
"selected-object-name": "node-0",
"selected-object-id": "0900000580004959",
"parent-id": "0900000580004959",
"chronicle-id": "0900000580004959",
"relation-id": "_root_node_id_0900000580004959",
"order-number": 0,
"binding": "CURRENT",
"override-late-binding": true,
"copy-behavior": 0,
"follow-assembly": false,
"node-id": "0000000000000000",
"is-virtual-document": true,
"late-binding-value": "CURRENT",
"is-binding-broken": false,
"are-children-compound": false,
"available-versions": [
"CURRENT",
"1.0"
],
"can-be-removed": true,
"can-be-restructured": true,
"child-count": 1,
"is-compound": false,
"is-from-assembly": false,
"is-structurally-modified": false,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
_root_node_id_0900000580004959"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-component",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004959"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
_root_node_id_0900000580004959"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
_root_node_id_0900000580004959"
}
]
}
},
{
"id": "0900000580004964",
"title": "node-1.1",
"summary": "1",
"updated": "2017-04-24T02:11:50.000+00:00",
"published": "2017-04-24T02:11:50.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-component",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004964"
}
],
"content": {
"name": "vd-node",
"selected-object-name": "node-1.1",
"selected-object-id": "0900000580004964",
"parent-id": "0900000580004959",
"chronicle-id": "090000058000495a",
"relation-id": "050000058000010b",
"order-number": 1000,
"binding": "2.0",
"override-late-binding": true,
"copy-behavior": 0,
"follow-assembly": false,
"node-id": "0000000000000001",
"vdm-number": "1",
"is-virtual-document": false,
"late-binding-value": "2.0",
"is-binding-broken": false,
"are-children-compound": false,
"available-versions": [
"CURRENT",
"3.0",
"2.0",
"1.0"
],
"can-be-removed": true,
"can-be-restructured": true,
"child-count": 0,
"is-compound": false,
"is-from-assembly": false,
"is-structurally-modified": false,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-component",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000058000495a"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b"
}
]
}
}
]
}
You can use this operation when you want to add a new child node to a SysObject
that is either a virtual document or a simple document. When the SysObject is a
simple document, using this operation converts it into a virtual document after a
child node is added to it.
POST
Authorization,
Accept
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
When adding a node, the <order-number> attribute takes effect only when the new
node is not the last child node. Otherwise, DFC automatically assigns a value for the
<order-number>. For example, if there are two nodes with <order-numbers> 1000 and
2000; and a new node with <order-number> 3500 is added, the resulting <order-
number> for the new node will be 3000, not 3500.
Similarly, when adding the first node to a virtual document; the <order-number> is
automatically set and will always be 1000.
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
"order-number": 3000,
"binding": "CURRENT",
"override-late-binding": true,
"copy-behavior": 0,
"follow-assembly": false,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010a"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-component",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580002516"
},
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010a"
},
{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010a"
}
]
}
For more information, see “Virtual Document Snapshots” on page 838 and About
the Diagrams on page 17.
2.80.1.2 Feed
No feed support.
2.80.1.4 Operations
2.80.1.4.1 Supported HTTP methods
Method Description
GET Retrieves the snapshot from a repository
DELETE Deletes the snapshot, but leaves the existing
SysObject used to create the snapshot
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
08000005800049fa"/>
<link rel="http://identifiers.emc.com/linkrel/virtual-document"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004a02"/>
<link rel="http://identifiers.emc.com/linkrel/snapshot-nodes"
href="http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
08000005800049fa/vd-nodes"/>
<link rel="http://identifiers.emc.com/linkrel/unfreeze"
href="http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
08000005800049fa/frozen"/>
</links>
</vd-snapshot>
"i_is_reference": false,
"r_creator_name": "dmadmin",
"r_is_public": true,
"r_policy_id": "0000000000000000",
"r_resume_state": 0,
"r_current_state": 0,
"r_alias_set_id": "0000000000000000",
"a_is_template": false,
"r_full_content_size": 0,
"a_is_signed": false,
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 5,
"r_object_id": "08000005800049fa"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
08000005800049fa"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004a02"
},
{
"rel": "http://identifiers.emc.com/linkrel/snapshot-nodes",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
08000005800049fa/vd-nodes"
},
{
"rel": "http://identifiers.emc.com/linkrel/unfreeze",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
08000005800049fa/frozen"
}
]
}
This operation deletes a snapshot that is associated with a virtual document. The
delete link is not available when the snapshot is frozen.
DELETE
Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987
N/A
N/A
For more information, see “Repository” on page 562 and About the Diagrams
on page 17.
2.80.2.2 Feed
Is this resource a feed? Yes.
2.80.2.4 Operations
Method Description
GET Retrieves a list of Snapshots from a
repository and presents them as a feed.
POST Creates a snapshot for a Virtual Document
and associates it with an existing
SysObject or a new SysObject.
This operation retrieves a list of snapshots for a specified virtual document and
presents them as a feed.
Here's a code sample that demonstrates how to use a filter expression to get a
list of Snapshots for a specific virtual document. In the following example, the
object id of the virtual document is used as the criteria to retrieve a list of
Snapshots.
filter=r_assembled_from_id='<VIRTUAL_DOCUMENT_OBJECT_ID>'
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
08000005800049fa"
}
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
0800000580004a26",
"title": "snapshot from scratch",
"summary": "Snapshot 0800000580004a26 for Virtual Document 0900000580004a02",
"updated": "2017-06-05T02:42:19.000+00:00",
"published": "2017-06-05T02:42:18.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
0800000580004a26"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
0800000580004a26"
}
}
]
}
• Authorization
• Accept
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
In the request shown below, the metadata of the snapshot is used to create a
new snapshot from scratch and the virtual document reference is used to
associate it with a virtual document. The system creates a new object as a
Snapshot.
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<links>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
080000058000ccd8" rel="self"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
080000058000ccd8/frozen" rel="http://identifiers.emc.com/linkrel/
unfreeze"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
090000058000ccce"
rel="http://identifiers.emc.com/linkrel/virtual-document"/>
</links>
</vd-snapshot>
"r_policy_id":"0000000000000000",
"r_resume_state":0,
"r_current_state":0,
"r_alias_set_id":"0000000000000000",
"a_is_template":false,
"r_full_content_size":0.0,
"a_is_signed":false,
"i_partition":0,
"i_is_replica":false,
"i_vstamp":3,
"r_object_id":"080000058000ccd8"
},
"links":[
{
"rel":"self",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
080000058000ccd8"
},
{
"rel":"http://identifiers.emc.com/linkrel/unfreeze",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
080000058000ccd8/frozen"
},
{
"rel":"http://identifiers.emc.com/linkrel/virtual-document",
"href":"http://localhost:8080/dctm-rest/repositories/REPO/objects/090000058000ccce"
}
]
}
For more information, see “Virtual Document Snapshot” on page 832 and About the
Diagrams on page 17.
2.81.2 Feed
Is this resource a feed? Yes.
2.81.3 Operations
2.81.3.1 Supported HTTP methods
Method Description
GET Retrieves the virtual document nodes
hierarchy of a specified snapshot object.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
<dm:items-per-page xmlns:dm="http://identifiers.emc.com/vocab/documentum">
100
</dm:items-per-page>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/snapshots/
0900000580004959/vd-nodes"/>
<entry>
<id>0900000580004959</id>
<title>node-0</title>
<updated>2017-04-24T02:11:51.000+00:00</updated>
<published>2017-04-24T02:11:49.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
_root_node_id_0900000580004959"/>
<link rel="http://identifiers.emc.com/linkrel/virtual-document-component"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004959"/>
<content type="application/vnd.emc.documentum+xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
_root_node_id_0900000580004959"/>
</entry>
<entry>
<id>0900000580004964</id>
<title>node-1.1</title>
<summary>1</summary>
<updated>2017-04-24T02:11:50.000+00:00</updated>
<published>2017-04-24T02:11:50.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b"/>
<link rel="http://identifiers.emc.com/linkrel/virtual-document-component"
href="http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004964"/>
<content type="application/vnd.emc.documentum+xml"
src="http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b"/>
</entry>
</feed>
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
_root_node_id_0900000580004959"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-component",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004959"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
_root_node_id_0900000580004959"
}
},
{
"id": "0900000580004964",
"title": "node-1.1",
"summary": "1",
"updated": "2017-04-24T02:11:50.000+00:00",
"published": "2017-04-24T02:11:50.000+00:00",
"links": [
{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document-component",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/objects/
0900000580004964"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/vd-relations/
050000058000010b"
}
}
]
}
For more information, see “Virtual Document Snapshot” on page 832 and About the
Diagrams on page 17.
2.82.2 Feed
No feed support.
2.82.3 Operations
2.82.3.1 Supported HTTP methods
Method Description
PUT Freeze an unfrozen snapshot.
DELETE Unfreezes a frozen snapshot.
A frozen snapshot is a document that has been explicitly marked as immutable. You
cannot modify the content or properties of a frozen snapshot, nor can you add or
remove any snapshot components. The contents and attributes of objects that are
included in a frozen snapshot cannot be modified and these objects cannot be
destroyed.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
When the freeze operation is successful, the response body contains a frozen
snapshot object. There is an unfreeze link in the response snapshot object that
allows the client to unfreeze this snapshot. Since a frozen snapshot cannot be
removed, there is no delete link.
xsi:type="dm_sysobject"
definition="http://localhost:8080/dctm-rest/repositories/ubuntudb/types/
dm_sysobject">
<properties>
<object_name>TEST-SNAPSHOT-c5c2d13d-dfe5-43a3-bd6d-b485504f0d7b</object_name>
<r_object_type>dm_sysobject</r_object_type>
<r_creation_date>2017-06-02T08:52:15.000+00:00</r_creation_date>
<r_modify_date>2017-06-02T08:57:57.000+00:00</r_modify_date>
<r_modifier>dmadmin</r_modifier>
<a_is_hidden>false</a_is_hidden>
<i_is_deleted>false</i_is_deleted>
<a_archive>false</a_archive>
<a_link_resolved>false</a_link_resolved>
<i_reference_cnt>1</i_reference_cnt>
<i_has_folder>true</i_has_folder>
<i_folder_id>
<item>0c00a79e80002128</item>
</i_folder_id>
<r_link_cnt>0</r_link_cnt>
<r_link_high_cnt>0</r_link_high_cnt>
<r_assembled_from_id>0900a79e80002407</r_assembled_from_id>
<r_frzn_assembly_cnt>1</r_frzn_assembly_cnt>
<r_has_frzn_assembly>true</r_has_frzn_assembly>
<r_is_virtual_doc>0</r_is_virtual_doc>
<i_contents_id>0000000000000000</i_contents_id>
<r_page_cnt>0</r_page_cnt>
<r_content_size>0</r_content_size>
<a_full_text>true</a_full_text>
<i_cabinet_id>0c00a79e80002128</i_cabinet_id>
<owner_name>dave</owner_name>
<owner_permit>7</owner_permit>
<group_permit>5</group_permit>
<world_permit>3</world_permit>
<i_antecedent_id>0000000000000000</i_antecedent_id>
<i_chronicle_id>0800a79e800022f7</i_chronicle_id>
<i_latest_flag>true</i_latest_flag>
<r_version_label>
<item>1.0</item>
<item>CURRENT</item>
</r_version_label>
<i_branch_cnt>0</i_branch_cnt>
<i_direct_dsc>false</i_direct_dsc>
<r_immutable_flag>true</r_immutable_flag>
<r_frozen_flag>true</r_frozen_flag>
<r_has_events>false</r_has_events>
<acl_domain>dave</acl_domain>
<acl_name>dm_4500a79e80000916</acl_name>
<i_is_reference>false</i_is_reference>
<r_creator_name>dave</r_creator_name>
<r_is_public>true</r_is_public>
<r_policy_id>0000000000000000</r_policy_id>
<r_resume_state>0</r_resume_state>
<r_current_state>0</r_current_state>
<r_alias_set_id>0000000000000000</r_alias_set_id>
<a_is_template>false</a_is_template>
<r_full_content_size>0.0</r_full_content_size>
<a_is_signed>false</a_is_signed>
<i_partition>0</i_partition>
<i_is_replica>false</i_is_replica>
<i_vstamp>5</i_vstamp>
<r_object_id>0800a79e800022f7</r_object_id>
</properties>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7"/>
<link rel="canonical"
href="http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7"/>
<link rel="http://identifiers.emc.com/linkrel/virtual-document"
href="http://localhost:8080/dctm-rest/repositories/ubuntudb/objects/
0900a79e80002407"/>
<link rel="http://identifiers.emc.com/linkrel/unfreeze"
href="http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7/frozen"/>
</links>
</vd-snapshot>
"a_is_template": false,
"r_full_content_size": 0,
"a_is_signed": false,
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 7,
"r_object_id": "0800a79e800022f7"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7"
},
{
"rel": "canonical",
"href": "http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document",
"href": "http://localhost:8080/dctm-rest/repositories/ubuntudb/objects/
0900a79e80002407"
},
{
"rel": "http://identifiers.emc.com/linkrel/unfreeze",
"href": "http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7/frozen"
}
]
}
Status: 200
Content-Type: application/vnd.emc.documentum+xml;charset=UTF-8
<i_reference_cnt>1</i_reference_cnt>
<i_has_folder>true</i_has_folder>
<i_folder_id>
<item>0c00a79e80002128</item>
</i_folder_id>
<r_link_cnt>0</r_link_cnt>
<r_link_high_cnt>0</r_link_high_cnt>
<r_assembled_from_id>0900a79e80002407</r_assembled_from_id>
<r_frzn_assembly_cnt>1</r_frzn_assembly_cnt>
<r_has_frzn_assembly>true</r_has_frzn_assembly>
<r_is_virtual_doc>0</r_is_virtual_doc>
<i_contents_id>0000000000000000</i_contents_id>
<r_page_cnt>0</r_page_cnt>
<r_content_size>0</r_content_size>
<a_full_text>true</a_full_text>
<i_cabinet_id>0c00a79e80002128</i_cabinet_id>
<owner_name>dave</owner_name>
<owner_permit>7</owner_permit>
<group_permit>5</group_permit>
<world_permit>3</world_permit>
<i_antecedent_id>0000000000000000</i_antecedent_id>
<i_chronicle_id>0800a79e800022f7</i_chronicle_id>
<i_latest_flag>true</i_latest_flag>
<r_version_label>
<item>1.0</item>
<item>CURRENT</item>
</r_version_label>
<i_branch_cnt>0</i_branch_cnt>
<i_direct_dsc>false</i_direct_dsc>
<r_immutable_flag>true</r_immutable_flag>
<r_frozen_flag>true</r_frozen_flag>
<r_has_events>false</r_has_events>
<acl_domain>dave</acl_domain>
<acl_name>dm_4500a79e80000916</acl_name>
<i_is_reference>false</i_is_reference>
<r_creator_name>dave</r_creator_name>
<r_is_public>true</r_is_public>
<r_policy_id>0000000000000000</r_policy_id>
<r_resume_state>0</r_resume_state>
<r_current_state>0</r_current_state>
<r_alias_set_id>0000000000000000</r_alias_set_id>
<a_is_template>false</a_is_template>
<r_full_content_size>0.0</r_full_content_size>
<a_is_signed>false</a_is_signed>
<i_partition>0</i_partition>
<i_is_replica>false</i_is_replica>
<i_vstamp>5</i_vstamp>
<r_object_id>0800a79e800022f7</r_object_id>
</properties>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7"/>
<link rel="canonical"
href="http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7"/>
<link rel="http://identifiers.emc.com/linkrel/virtual-document"
href="http://localhost:8080/dctm-rest/repositories/ubuntudb/objects/
0900a79e80002407"/>
<link rel="http://identifiers.emc.com/linkrel/unfreeze"
href="http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7/frozen"/>
</links>
</vd-snapshot>
Status: 200
Content-Type: application/vnd.emc.documentum+json;charset=UTF-8
{
"name": "vd-snapshot",
"type": "dm_sysobject",
"definition": "http://localhost:8080/dctm-rest/repositories/ubuntudb/types/
dm_sysobject",
"properties": {
"object_name": "TEST-SNAPSHOT-c5c2d13d-dfe5-43a3-bd6d-b485504f0d7b",
"r_object_type": "dm_sysobject",
"r_creation_date": "2017-06-02T08:52:15.000+00:00",
"r_modify_date": "2017-06-02T08:58:24.000+00:00",
"r_modifier": "dmadmin",
"a_is_hidden": false,
"i_is_deleted": false,
"a_archive": false,
"a_link_resolved": false,
"i_reference_cnt": 1,
"i_has_folder": true,
"i_folder_id": [
"0c00a79e80002128"
],
"r_link_cnt": 0,
"r_link_high_cnt": 0,
"r_assembled_from_id": "0900a79e80002407",
"r_frzn_assembly_cnt": 1,
"r_has_frzn_assembly": true,
"r_is_virtual_doc": 0,
"i_contents_id": "0000000000000000",
"r_page_cnt": 0,
"r_content_size": 0,
"a_full_text": true,
"i_cabinet_id": "0c00a79e80002128",
"owner_name": "dave",
"owner_permit": 7,
"group_permit": 5,
"world_permit": 3,
"i_antecedent_id": "0000000000000000",
"i_chronicle_id": "0800a79e800022f7",
"i_latest_flag": true,
"r_version_label": [
"1.0",
"CURRENT"
],
"i_branch_cnt": 0,
"i_direct_dsc": false,
"r_immutable_flag": true,
"r_frozen_flag": true,
"r_has_events": false,
"acl_domain": "dave",
"acl_name": "dm_4500a79e80000916",
"i_is_reference": false,
"r_creator_name": "dave",
"r_is_public": true,
"r_policy_id": "0000000000000000",
"r_resume_state": 0,
"r_current_state": 0,
"r_alias_set_id": "0000000000000000",
"a_is_template": false,
"r_full_content_size": 0,
"a_is_signed": false,
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 7,
"r_object_id": "0800a79e800022f7"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7"
},
{
"rel": "canonical",
"href": "http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7"
},
{
"rel": "http://identifiers.emc.com/linkrel/virtual-document",
"href": "http://localhost:8080/dctm-rest/repositories/ubuntudb/objects/
0900a79e80002407"
},
{
"rel": "http://identifiers.emc.com/linkrel/unfreeze",
"href": "http://localhost:8080/dctm-rest/repositories/ubuntudb/snapshots/
0800a79e800022f7/frozen"
}
]
}
DELETE
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
N/A
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987
N/A
N/A
For more information, see “Repository” on page 562 and About the Diagrams
on page 17.
2.83.2 Feed
Is this resource a feed? Yes.
2.83.4 Operations
2.83.4.1 Supported HTTP methods
Method Description
GET Retrieves the word suggestions for requested
words.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
• Location
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/cce/suggestions",
"title": "Word Suggestion from CCE",
"author": [
{
"name": "Open Text Documentum"
}
],
"updated": "2018-08-10T08:15:12.160+00:00",
"page": 1,
"items-per-page": 100,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
suggestions?word=manager"
},
{
"rel": "http://identifiers.emc.com/linkrel/search",
"hreftemplate": "http://localhost:8080/dctm-rest/repositories/
REPO/search{?collections,facet,inline,
items-per-page,locations,object-type,page,q,sort,
timezone,view}"
}
],
"entries": [
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
suggestions?word=manager",
"title": "managers",
"summary": "Type Ahead Service Result ",
"updated": "2018-08-10T08:15:12.166+00:00",
"published": "2018-08-10T08:15:12.166+00:00",
"links": [
{
"rel": "http://identifiers.emc.com/linkrel/search",
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/search?q=managers"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
suggestions?word=manager"
}
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
suggestions?word=manager",
"title": "manager job",
"summary": "Type Ahead Service Result ",
"updated": "2018-08-10T08:15:12.167+00:00",
"published": "2018-08-10T08:15:12.167+00:00",
"links": [
{
"rel": "http://identifiers.emc.com/linkrel/search",
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/search?q=manager%20job"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
suggestions?word=manager"
}
}
]
}
"author": [
{
"name": "Open Text Documentum"
}
],
"updated": "2018-08-10T08:24:42.101+00:00",
"page": 1,
"items-per-page": 100,
"_embedded": {
"collection": [
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
suggestions?word=manager",
"title": "managers",
"summary": "Type Ahead Service Result ",
"updated": "2018-08-10T08:24:42.102+00:00",
"published": "2018-08-10T08:24:42.102+00:00",
"_links": {
"http://identifiers.emc.com/linkrel/search": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/search?q=managers"
},
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/cce/suggestions?word=manager"
}
}
},
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
suggestions?word=manager",
"title": "manager job",
"summary": "Type Ahead Service Result ",
"updated": "2018-08-10T08:24:42.102+00:00",
"published": "2018-08-10T08:24:42.102+00:00",
"_links": {
"http://identifiers.emc.com/linkrel/search": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/search?q=manager%20job"
},
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/cce/suggestions?word=manager"
}
}
}
]
},
"_links": {
"http://identifiers.emc.com/linkrel/search": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
search{?collections,facet,inline,
items-per-page,locations,object-type,page,q,sort,
timezone,view}",
"templated": true
},
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/cce/
suggestions?word=manager"
}
}
}
For more information, see “Work Items” on page 873 and About the Diagrams
on page 17.
2.84.1.2 Feed
No feed support.
2.84.1.4 Operations
Method Description
GET Retrieves a work item
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
4d00000180000100"
rel="http://identifiers.emc.com/linkrel/workflow"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c4"
rel="http://identifiers.emc.com/linkrel/workflow-activity"/>
</links>
</work-item>
For more information, see “Workflow” on page 906 and About the Diagrams
on page 17.
2.84.2.2 Feed
Is this resource a feed? Yes.
2.84.2.4 Operations
2.84.2.4.1 Supported HTTP methods
Method Description
GET Retrieves the Work Items of the specified Workflow instance
This operation retrieves the Work Items of the specified Workflow instance
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
work-items/4a00000180000100"
}
}
]
}
For more information, see “Work Queues” on page 882 and About the Diagrams
on page 17.
2.85.1.2 Feed
No feed support.
2.85.1.4 Operations
2.85.1.4.1 Supported HTTP methods
Method Description
GET Retrieves a Work Queue
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
This code sample shows you the Work Queue Request and the Response.
Request
GET /dctm-rest/repositories/REPO/work-queue/0000000180000d20 HTTP/1.1
Host: localhost:8080
Accept: application/vnd.emc.documentum+json
Authorization: Basic QWRtaW5pc3RyYXRvcjpQYXNzd29yZEAxMjM=
JSON Response
{
"name": "work-queue",
"type": "dmc_workqueue",
"definition": "http://localhost:8080/dctm-rest/repositories/REPO/types/
dmc_workqueue",
"properties": {
"wq_name": "test work queue",
"wq_category_id": "0b00000180008068",
"wq_policy_id": "0000000180000d1d",
"i_is_replica": false,
"i_vstamp": 0,
"r_object_id": "0000000180000d20"
},
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/work-queues/
0000000180000d20"
}, {
"rel": "http://identifiers.emc.com/linkrel/queue-tasks",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
queue-tasks?queue-names=test%2Bwork%2Bqueue"
}
]
}
For more information, see “Repository” on page 562 and About the Diagrams
on page 17.
2.85.2.2 Feed
Is this resource a feed? Yes.
2.85.2.4 Operations
2.85.2.4.1 Supported HTTP methods
Method Description
GET Retrieves Work Queues
This operation retrieves a list of work queues to which the specified user belongs. It
retrieves, by default, the queue name of the user that is currently logged in.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/work-queues",
"title": "Work queues",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-06-12T09:18:31.925+00:00",
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
work-queues"
}
],
"entries": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/work-queues/
0000000180000d2a",
"title": "test-work-queue-2",
"summary": "0000000180000d2a test-work-queue-2",
"updated": "2019-06-12T09:18:31.939+00:00",
"published": "2019-06-12T09:18:31.939+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
work-queues/0000000180000d2a"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
work-queues/0000000180000d2a"
}
}, {
"id": "http://localhost:8080/dctm-rest/repositories/REPO/work-queues/
0000000180000d20",
"title": "test work queue",
"summary": "0000000180000d20 test work queue",
"updated": "2019-06-12T09:18:31.939+00:00",
"published": "2019-06-12T09:18:31.939+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO
work-queues/0000000180000d20"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
work-queues/0000000180000d20"
}
}
]
}
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/work-queues",
"title": "Work queues",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-06-12T09:20:57.243+00:00",
"_embedded": {
"collection": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
work-queues/0000000180000d2a",
"title": "test-work-queue-2",
"summary": "0000000180000d2a test-work-queue-2",
"updated": "2019-06-12T09:20:57.243+00:00",
"published": "2019-06-12T09:20:57.243+00:00",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/work-queues/0000000180000d2a"
}
}
}, {
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
work-queues/0000000180000d20",
"title": "test work queue",
"summary": "0000000180000d20 test work queue",
"updated": "2019-06-12T09:20:57.243+00:00",
"published": "2019-06-12T09:20:57.243+00:00",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/work-queues/0000000180000d20"
}
}
}
]
},
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
work-queues"
}
}
}
For more information, see “Work Queue Tasks” on page 898 and About the
Diagrams on page 17.
2.86.1.2 Feed
No feed support.
2.86.1.4 Operations
2.86.1.4.1 Supported HTTP methods
Method Description
GET Retrieves a work queue task
PUT Perform actions on a work queue task
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
workflow-activities/4c0000018001f578"></link>
<link rel="http://identifiers.emc.com/linkrel/inbox-item"
href="http://localhost:8080/dctm-rest/repositories/REPO/inbox/
1b0000018000e550"></link>
</links>
</work-queue-task>
1b0000018000e550"
}
]
}
}
}
The Work Queue Task is also a Workflow Task. In addition to supporting the actions
on a workflow task such as acquire, forward, reject, delegate, repeat,
signoff, assign and complete through the Inbox Item resource, it also supports
the actions, shown below, on the Work Queue Task resource.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
<stamp>1b0000018000e550</stamp>
<links>
<link rel="self"
href="http://localhost:8080/dctm-rest/repositories/REPO/queue-tasks/
4a00000180001114"></link>
<link rel="http://identifiers.emc.com/linkrel/workflow"
href="http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d00000180001114"></link>
<link rel="http://identifiers.emc.com/linkrel/workflow-activity"
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c0000018001f578"></link>
<link rel="http://identifiers.emc.com/linkrel/inbox-item"
href="http://localhost:8080/dctm-rest/repositories/REPO/inbox/
1b0000018000e550"></link>
</links>
</work-queue-task>
"rel": "http://identifiers.emc.com/linkrel/workflow",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d00000180001114"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c0000018001f578"
}, {
"rel": "http://identifiers.emc.com/linkrel/inbox-item",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/inbox/
1b0000018000e550"
}
]
}
workflow-activities/4c0000018001f578"
},
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
queue-tasks/4a00000180001114"
},
"http://identifiers.emc.com/linkrel/inbox-item": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/inbox/
1b0000018000e550"
}
}
}
For more information, see “Repository” on page 562 and About the Diagrams
on page 17.
2.86.2.2 Feed
Is this resource a feed? Yes.
2.86.2.4 Operations
2.86.2.4.1 Supported HTTP methods
Method Description
GET Retrieves Work Queues
This operation retrieves a list of Work Queue Tasks that belong to the specified user.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
repositories/REPO/queue-tasks/
4a00000180001112"></content>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/
queue-tasks/4a00000180001113</id>
<title>test work queue</title>
<author>
<name>test work queue</name>
<uri>http://localhost:8080/dctm-rest/repositories/
REPO/users/test%2Bwork%2Bqueue</uri>
</author>
<summary>4a00000180001113 170</summary>
<updated>2019-06-06T04:59:17.000+00:00</updated>
<published>2019-06-06T04:59:17.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001113"></link>
<content type="application/vnd.emc.documentum+xml"
src="http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001113"></content>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/
queue-tasks/4a00000180001114</id>
<title>test-work-queue-2</title>
<author>
<name>test-work-queue-2</name>
<uri>http://localhost:8080/dctm-rest/repositories/
REPO/users/test-work-queue-2</uri>
</author>
<summary>4a00000180001114 170</summary>
<updated>2019-06-06T05:00:29.000+00:00</updated>
<published>2019-06-06T05:00:29.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001114"></link>
<content type="application/vnd.emc.documentum+xml"
src="http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001114"></content>
</entry>
<entry>
<id>http://localhost:8080/dctm-rest/repositories/REPO/
queue-tasks/4a00000180001115</id>
<title>test-work-queue-2</title>
<author>
<name>test-work-queue-2</name>
<uri>http://localhost:8080/dctm-rest/repositories/
REPO/users/test-work-queue-2</uri>
</author>
<summary>4a00000180001115 169</summary>
<updated>2019-06-06T05:52:43.000+00:00</updated>
<published>2019-06-06T05:52:43.000+00:00</published>
<link rel="edit"
href="http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001115"></link>
<content type="application/vnd.emc.documentum+xml"
src="http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001115"></content>
</entry>
</feed>
{
"id": "http://localhost:8080/dctm-rest/repositories/
REPO/queue-tasks",
"title": "Work queue tasks",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-06-13T03:13:37.441+00:00",
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks"
}
],
"entries": [{
"id": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001112",
"title": "test work queue",
"author": [{
"name": "dmadmin",
"uri": "http://localhost:8080/dctm-rest/
repositories/REPO/users/dmadmin"
}
],
"summary": "4a00000180001112 170",
"updated": "2019-06-06T04:59:06.000+00:00",
"published": "2019-06-06T04:59:06.000+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001112"
}
],
"content": {
"type": "application/json",
"src": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001112"
}
}, {
"id": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a0000018000110c",
"title": "test-work-queue-2",
"author": [{
"name": "sysadmin",
"uri": "http://localhost:8080/dctm-rest/
repositories/REPO/users/
sysadmin"
}
],
"summary": "4a0000018000110c 196",
"updated": "2019-06-05T03:05:10.000+00:00",
"published": "2019-06-05T03:05:10.000+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a0000018000110c"
}
],
"content": {
"type": "application/json",
"src": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a0000018000110c"
}
}, {
"id": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001114",
"title": "test-work-queue-2",
"author": [{
"name": "test-work-queue-2",
"uri": "http://localhost:8080/dctm-rest/
repositories/REPO/users/
test-work-queue-2"
}
],
"summary": "4a00000180001114 170",
"updated": "2019-06-06T05:00:29.000+00:00",
"published": "2019-06-06T05:00:29.000+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001114"
}
],
"content": {
"type": "application/json",
"src": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001114"
}
}, {
"id": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001115",
"title": "test-work-queue-2",
"author": [{
"name": "test-work-queue-2",
"uri": "http://localhost:8080/dctm-rest/
repositories/REPO/users/
test-work-queue-2"
}
],
"summary": "4a00000180001115 169",
"updated": "2019-06-06T05:52:43.000+00:00",
"published": "2019-06-06T05:52:43.000+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001115"
}
],
"content": {
"type": "application/json",
"src": "http://localhost:8080/dctm-rest/
repositories/REPO/queue-tasks/
4a00000180001115"
}
}
]
}
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/queue-tasks",
"title": "Work queue tasks",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-06-13T03:15:27.348+00:00",
"_embedded": {
"collection": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
queue-tasks/4a00000180001112",
"title": "test work queue",
"author": [{
"name": "dmadmin",
"uri": "http://localhost:8080/dctm-rest/repositories/
REPO/users/dmadmin"
}
],
"summary": "4a00000180001112 170",
"updated": "2019-06-06T04:59:06.000+00:00",
"published": "2019-06-06T04:59:06.000+00:00",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/queue-tasks/4a00000180001112"
}
}
}, {
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
queue-tasks/4a0000018000110c",
"title": "test-work-queue-2",
"author": [{
"name": "sysadmin",
"uri": "http://localhost:8080/dctm-rest/repositories/
REPO/users/sysadmin"
}
],
"summary": "4a0000018000110c 196",
"updated": "2019-06-05T03:05:10.000+00:00",
"published": "2019-06-05T03:05:10.000+00:00",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/queue-tasks/4a0000018000110c"
}
}
}, {
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
queue-tasks/4a00000180001114",
"title": "test-work-queue-2",
"author": [{
"name": "test-work-queue-2",
"uri": "http://localhost:8080/dctm-rest/repositories/
REPO/users/test-work-queue-2"
}
],
"summary": "4a00000180001114 170",
"updated": "2019-06-06T05:00:29.000+00:00",
"published": "2019-06-06T05:00:29.000+00:00",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/queue-tasks/4a00000180001114"
}
}
}, {
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
queue-tasks/4a00000180001115",
"title": "test-work-queue-2",
"author": [{
"name": "test-work-queue-2",
"uri": "http://localhost:8080/dctm-rest/repositories/
REPO/users/test-work-queue-2"
}
],
"summary": "4a00000180001115 169",
"updated": "2019-06-06T05:52:43.000+00:00",
"published": "2019-06-06T05:52:43.000+00:00",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/
REPO/queue-tasks/4a00000180001115"
}
}
}
]
},
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
queue-tasks"
}
}
}
2.87 Workflow(s)
2.87.1 Workflow
The Workflow resource is used to get a specified Workflow instance.
For more information, see “Workflows” on page 920 and About the Diagrams
on page 17.
2.87.1.2 Feed
No feed support.
2.87.1.4 Operations
2.87.1.4.1 Supported HTTP methods
Method Description
GET Retrieves a Workflow instance
PUT Performs Workflow actions
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
</r_last_witem_id>
<i_performer_flag>
<item>0</item>
</i_performer_flag>
<r_target_act_seqno>
<item>-1</item>
</r_target_act_seqno>
<i_is_replica>false</i_is_replica>
<i_vstamp>1</i_vstamp>
<r_object_id>4d0000018000010a</r_object_id>
</properties>
<links>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a"
rel="self"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
rel="http://identifiers.emc.com/linkrel/workflow-template"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments"
rel="http://identifiers.emc.com/linkrel/workflow-attachments"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/work-items"
rel="http://identifiers.emc.com/linkrel/work-items"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
rel="http://identifiers.emc.com/linkrel/workflow-activity"
title="Activity-1"/>
</links>
</workflow>
"r_repeat_invoke": [
true
],
"r_trigger_thresh": [
0
],
"r_trigger_input": [
0
],
"r_trigger_revert": [
0
],
"r_pre_timer": [
null
],
"r_post_timer": [
null
],
"r_total_witem": [
1
],
"r_complete_witem": [
0
],
"r_last_performer": [
""
],
"r_last_witem_id": [
"0000000000000000"
],
"i_performer_flag": [
0
],
"r_target_act_seqno": [
-1
],
"i_is_replica": false,
"i_vstamp": 1,
"r_object_id": "4d0000018000010a"
},
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-template",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-attachments",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments"
}, {
"rel": "http://identifiers.emc.com/linkrel/work-items",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/work-items"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"title": "Activity-1",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
}
]
}
{
"name": "workflow",
"type": "dm_workflow",
"definition": "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_workflow",
"properties": {
"object_name": "a_test_workflow 2019-02-26",
"process_id": "4b0000018000236e",
"r_creator_name": "dmadmin",
"supervisor_name": "dmadmin",
"r_runtime_state": 1,
"r_start_date": "2019-02-26T06:35:58.000+00:00",
"i_next_seqno": 1,
"r_alias_set_id": "0000000000000000",
"parent_id": "0000000000000000",
"parent_act_seqno": 0,
"correlation_identifier": "9f000661a430d930db3138306730303f",
"i_next_act_group_seqno": 0,
"r_act_seqno": [
0
],
"r_act_name": [
"Activity-1"
],
"r_act_def_id": [
"4c000001800025c9"
],
"r_act_errorno": [
0
],
"r_act_state": [
1
],
"r_repeat_invoke": [
true
],
"r_trigger_thresh": [
0
],
"r_trigger_input": [
0
],
"r_trigger_revert": [
0
],
"r_pre_timer": [
null
],
"r_post_timer": [
null
],
"r_total_witem": [
1
],
"r_complete_witem": [
0
],
"r_last_performer": [
""
],
"r_last_witem_id": [
"0000000000000000"
],
"i_performer_flag": [
0
],
"r_target_act_seqno": [
-1
],
"i_is_replica": false,
"i_vstamp": 1,
"r_object_id": "4d0000018000010a"
},
"_links": {
"http://identifiers.emc.com/linkrel/work-items": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/work-items"
},
"http://identifiers.emc.com/linkrel/workflow-activity": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9",
"title": "Activity-1"
},
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflows/4d0000018000010a"
},
"http://identifiers.emc.com/linkrel/workflow-attachments": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments"
},
"http://identifiers.emc.com/linkrel/workflow-template": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}
}
}
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
The response body is the same as that of the GET operation. We have included here
for your convenience.
</r_repeat_invoke>
<r_trigger_thresh>
<item>0</item>
</r_trigger_thresh>
<r_trigger_input>
<item>0</item>
</r_trigger_input>
<r_trigger_revert>
<item>0</item>
</r_trigger_revert>
<r_pre_timer>
<item xsi:nil="true"/>
</r_pre_timer>
<r_post_timer>
<item xsi:nil="true"/>
</r_post_timer>
<r_total_witem>
<item>1</item>
</r_total_witem>
<r_complete_witem>
<item>0</item>
</r_complete_witem>
<r_last_performer>
<item/>
</r_last_performer>
<r_last_witem_id>
<item>0000000000000000</item>
</r_last_witem_id>
<i_performer_flag>
<item>0</item>
</i_performer_flag>
<r_target_act_seqno>
<item>-1</item>
</r_target_act_seqno>
<i_is_replica>false</i_is_replica>
<i_vstamp>1</i_vstamp>
<r_object_id>4d0000018000010a</r_object_id>
</properties>
<links>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a"
rel="self"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
rel="http://identifiers.emc.com/linkrel/workflow-template"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments"
rel="http://identifiers.emc.com/linkrel/workflow-attachments"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/work-items"
rel="http://identifiers.emc.com/linkrel/work-items"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
rel="http://identifiers.emc.com/linkrel/workflow-activity"
title="Activity-1"/>
</links>
</workflow>
4d0000018000010a"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-template",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-attachments",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments"
}, {
"rel": "http://identifiers.emc.com/linkrel/work-items",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/work-items"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"title": "Activity-1",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
}
]
}
"r_trigger_revert": [
0
],
"r_pre_timer": [
null
],
"r_post_timer": [
null
],
"r_total_witem": [
1
],
"r_complete_witem": [
0
],
"r_last_performer": [
""
],
"r_last_witem_id": [
"0000000000000000"
],
"i_performer_flag": [
0
],
"r_target_act_seqno": [
-1
],
"i_is_replica": false,
"i_vstamp": 1,
"r_object_id": "4d0000018000010a"
},
"_links": {
"http://identifiers.emc.com/linkrel/work-items": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/work-items"
},
"http://identifiers.emc.com/linkrel/workflow-activity": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9",
"title": "Activity-1"
},
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflows/4d0000018000010a"
},
"http://identifiers.emc.com/linkrel/workflow-attachments": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments"
},
"http://identifiers.emc.com/linkrel/workflow-template": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}
}
}
2.87.2 Workflows
The Workflows resource is used to get Workflow instances as a feed.
For more information, see “Repository” on page 562 and About the Diagrams
on page 17.
2.87.2.2 Feed
Is this resource a feed? Yes.
2.87.2.4 Operations
Method Description
GET Retrieves Workflows as a feed
POST Used to start a Workflow
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/workflows",
"title": "Workflows",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-02-26T06:23:05.510+00:00",
"page": 1,
"items-per-page": 100,
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows"
}
],
"entries": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d00000180000100",
"title": "a_test_workflow 2018-12-25",
"updated": "2019-02-26T06:23:05.510+00:00",
"published": "2018-12-25T09:18:22.000+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflows/4d00000180000100"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-template",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
workflows/4d00000180000100"
}
}
]
}
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/workflows",
"title": "Workflows",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-02-26T06:23:21.597+00:00",
"page": 1,
"items-per-page": 100,
"_embedded": {
"collection": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d00000180000100",
"title": "a_test_workflow 2018-12-25",
"updated": "2019-02-26T06:23:21.597+00:00",
"published": "2018-12-25T09:18:22.000+00:00",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflows/4d00000180000100"
},
"http://identifiers.emc.com/linkrel/workflow-template": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}
}
}
]
},
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows"
}
}
}
This operation creates and then starts a workflow from a template or it can be used
to create and then start a quick flow that is not based on a workflow template. Quick
flows can be used to route objects to users or groups.
• Authorization
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/vnd.emc.documentum+json
• application/hal+json
The default behavior is to create and start a Workflow from a template. In this case,
creating a reference to the Workflow template in XML or JSON is mandatory. You
can use the workflow-name property to specify the object name of the Workflow
instance.
When the Workflow is created with a start activity that does not have any input
ports, the start activity becomes active and then appears in the recipient’s inbox.
When the Workflow is designed with a start activity that does contain an input port,
the start activity does not become active until you attach a package to its input port.
To do this, just add a package to a start activity during the workflow instance
creation from a template. When an activity name is not provided, a default start
activity is used.
To add documents or notes to the packages in the template definition, with the
exception of the mandatory href attribute, you can use a list of packages, and one of
those packages can contain the following attributes:
When you are starting an ad-hoc flow, the quick-flow Request parameter must be
set to true. This method allows you to create and start a workflow that is not based
on a workflow template. Creating and starting a workflow this way enables you to
route one or more objects to one or more users, groups, or users and groups.
When you send tasks to multiple users, you can select whether each user receives
those tasks simultaneously or sequentially.
This creates and starts a workflow from a template, but does not add a package
to the start activity.
<?xml version="1.0" encoding="UTF-8"?>
<workflow>
<href>http://localhost:8080/dctm-rest/repositories/REPO/workflow-templates/
4b0000018000236e</href>
<workflow-name>the name of this workflow</workflow-name>
</workflow>
This creates a workflow instance from a template, adds a package to the start
activity, and starts the workflow.
<workflow>
<href>http://localhost:8080/dctm-rest/repositories/REPO/workflow-templates/
4b0000018003e395</href>
<workflow-name>the name of this workflow</workflow-name>
<packages>
<package>
<package-name>Package0</package-name>
<document-ids>
<document-id>0900000180011f0d</document-id>
</document-ids>
<notes>
<note>
<text>this is the first note for package0. true-persistent</text>
<persistent>true</persistent>
</note>
<note>
<text>this is the second note for package0. false-persistent</text>
<persistent>false</persistent>
</note>
</notes>
</package>
<package>
<package-name>Package1</package-name>
<document-ids>
<document-id>0900000180011fad</document-id>
</document-ids>
<notes>
<note>
<text>this is the first note for package1. true-persistent</text>
<persistent>true</persistent>
</note>
<note>
<text>this is the second note for package1. false-persistent</text>
<persistent>false</persistent>
</note>
</notes>
</package>
</packages>
</workflow>
<flags>3</flags>
</workflow>
This creates and then starts a workflow from a template, but it does not add a
package to the start activity.
{
"href":"http://localhost:8080/dctm-rest/repositories/REPO/workflow-templates/
4b0000018000236e",
"workflow-name":"the name of this workflow"
}
],
"notes": [{
"text": "this is the first note for package0. true-persistent",
"persistent": true
}, {
"text": "this is the second note for package0. false-persistent",
"persistent": false
}
]
}, {
"package-name": "Package1",
"document-ids": [
"0900000180011fad"
],
"notes": [{
"text": "this is the first note for package1. true-persistent",
"persistent": true
}, {
"text": "this is the second note for package1. false-persistent",
"persistent": false
}
]
}
],
"workflow-name": "Document review Workflow Instance 2019-7-03"
}
],
"groups": [
"docu"
],
"object-ids": [
"09000001800021c0",
"09000001800021bf",
"09000001800021be"
],
"instruction": "A quickflow is a single task you send to one or more users
usually for review or acknowledgement use cases. If you
send a quickflow to multiple users, you can select whether
each user receives the task simultaneously or sequentially.",
"priority": "LOW",
"flags": 7
}
This creates and then starts a workflow from a template, but does not add a
package to the start activity.
{
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e",
"workflow-name": "the name of this workflow"
}
This creates and then starts a workflow from a template, and adds a package to
the start activity of the workflow instance.
{
"href": "/repositories/REPO/workflow-templates/4b0000018003e395",
"packages": [{
"package-name": "Package0",
"document-ids": [
"0900000180011f0d"
],
"notes": [{
"text": "this is the first note for package0. true-persistent",
"persistent": true
}, {
"text": "this is the second note for package0. false-persistent",
"persistent": false
}
]
}, {
"package-name": "Package1",
"document-ids": [
"0900000180011fad"
],
"notes": [{
"text": "this is the first note for package1. true-persistent",
"persistent": true
}, {
"text": "this is the second note for package1. false-persistent",
"persistent": false
}
]
}
],
"workflow-name": "Document review Workflow Instance 2019-7-03"
}
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
<r_post_timer>
<item xsi:nil="true"/>
</r_post_timer>
<r_total_witem>
<item>1</item>
</r_total_witem>
<r_complete_witem>
<item>0</item>
</r_complete_witem>
<r_last_performer>
<item/>
</r_last_performer>
<r_last_witem_id>
<item>0000000000000000</item>
</r_last_witem_id>
<i_performer_flag>
<item>0</item>
</i_performer_flag>
<r_target_act_seqno>
<item>-1</item>
</r_target_act_seqno>
<i_is_replica>false</i_is_replica>
<i_vstamp>1</i_vstamp>
<r_object_id>4d0000018000010a</r_object_id>
</properties>
<links>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a"
rel="self"/>
<link href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
rel="http://identifiers.emc.com/linkrel/workflow-template"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
rel="http://identifiers.emc.com/linkrel/workflow-activity"
title="Activity-1"/>
</links>
</workflow>
"r_act_def_id": [
"4c000001800025c9"
],
"r_act_errorno": [
0
],
"r_act_state": [
1
],
"r_repeat_invoke": [
true
],
"r_trigger_thresh": [
0
],
"r_trigger_input": [
0
],
"r_trigger_revert": [
0
],
"r_pre_timer": [
null
],
"r_post_timer": [
null
],
"r_total_witem": [
1
],
"r_complete_witem": [
0
],
"r_last_performer": [
""
],
"r_last_witem_id": [
"0000000000000000"
],
"i_performer_flag": [
0
],
"r_target_act_seqno": [
-1
],
"i_is_replica": false,
"i_vstamp": 1,
"r_object_id": "4d0000018000010a"
},
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-template",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"title": "Activity-1",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
}
]
}
{
"name": "workflow",
"type": "dm_workflow",
"definition": "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_workflow",
"properties": {
"object_name": "a_test_workflow 2019-02-26",
"process_id": "4b0000018000236e",
"r_creator_name": "dmadmin",
"supervisor_name": "dmadmin",
"r_runtime_state": 1,
"r_start_date": "2019-02-26T06:35:58.000+00:00",
"i_next_seqno": 1,
"r_alias_set_id": "0000000000000000",
"parent_id": "0000000000000000",
"parent_act_seqno": 0,
"correlation_identifier": "9f000661a430d930db3138306730303f",
"i_next_act_group_seqno": 0,
"r_act_seqno": [
0
],
"r_act_name": [
"Activity-1"
],
"r_act_def_id": [
"4c000001800025c9"
],
"r_act_errorno": [
0
],
"r_act_state": [
1
],
"r_repeat_invoke": [
true
],
"r_trigger_thresh": [
0
],
"r_trigger_input": [
0
],
"r_trigger_revert": [
0
],
"r_pre_timer": [
null
],
"r_post_timer": [
null
],
"r_total_witem": [
1
],
"r_complete_witem": [
0
],
"r_last_performer": [
""
],
"r_last_witem_id": [
"0000000000000000"
],
"i_performer_flag": [
0
],
"r_target_act_seqno": [
-1
],
"i_is_replica": false,
"i_vstamp": 1,
"r_object_id": "4d0000018000010a"
},
"_links": {
"http://identifiers.emc.com/linkrel/workflow-activity": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9",
"title": "Activity-1"
},
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a"
},
"http://identifiers.emc.com/linkrel/workflow-template": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}
}
}
For more information, see “Workflow Activities” on page 946 and About the
Diagrams on page 17.
2.88.1.2 Feed
No feed support.
2.88.1.4 Operations
2.88.1.4.1 Supported HTTP methods
Method Description
GET Retrieve a Workflow Activity.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
<r_has_frzn_assembly>false</r_has_frzn_assembly>
<r_is_virtual_doc>0</r_is_virtual_doc>
<i_contents_id>0000000000000000</i_contents_id>
<r_page_cnt>0</r_page_cnt>
<r_content_size>0</r_content_size>
<a_full_text>true</a_full_text>
<i_cabinet_id>0c00000180002114</i_cabinet_id>
<owner_name>dmadmin</owner_name>
<owner_permit>7</owner_permit>
<group_name>docu</group_name>
<group_permit>5</group_permit>
<world_permit>3</world_permit>
<i_antecedent_id>0000000000000000</i_antecedent_id>
<i_chronicle_id>4c000001800025c9</i_chronicle_id>
<i_latest_flag>true</i_latest_flag>
<r_version_label>
<item>1.0</item>
<item>CURRENT</item>
</r_version_label>
<i_branch_cnt>0</i_branch_cnt>
<i_direct_dsc>false</i_direct_dsc>
<r_immutable_flag>false</r_immutable_flag>
<r_frozen_flag>false</r_frozen_flag>
<r_has_events>false</r_has_events>
<acl_domain>dmadmin</acl_domain>
<acl_name>dm_4500000180000914</acl_name>
<a_special_app>palette/activity.gif</a_special_app>
<i_is_reference>false</i_is_reference>
<r_creator_name>dmadmin</r_creator_name>
<r_is_public>true</r_is_public>
<r_policy_id>0000000000000000</r_policy_id>
<r_resume_state>0</r_resume_state>
<r_current_state>0</r_current_state>
<r_alias_set_id>0000000000000000</r_alias_set_id>
<a_is_template>false</a_is_template>
<r_full_content_size>0.0</r_full_content_size>
<a_is_signed>false</a_is_signed>
<i_partition>0</i_partition>
<i_is_replica>false</i_is_replica>
<i_vstamp>5</i_vstamp>
<is_private>false</is_private>
<r_definition_state>2</r_definition_state>
<trigger_threshold>1</trigger_threshold>
<pre_timer>0</pre_timer>
<post_timer>0</post_timer>
<repeatable_invoke>true</repeatable_invoke>
<exec_type>0</exec_type>
<exec_method_id>0000000000000000</exec_method_id>
<exec_save_results>false</exec_save_results>
<exec_time_out>0</exec_time_out>
<exec_err_handling>0</exec_err_handling>
<performer_type>0</performer_type>
<performer_flag>0</performer_flag>
<transition_type>0</transition_type>
<r_condition_id>0000000000000000</r_condition_id>
<sign_off_required>false</sign_off_required>
<resolve_type>0</resolve_type>
<control_flag>0</control_flag>
<transition_max_output_cnt>0</transition_max_output_cnt>
<transition_eval_cnt>0</transition_eval_cnt>
<transition_flag>0</transition_flag>
<pre_timer_repeat_last>0</pre_timer_repeat_last>
<pre_timer_calendar_flag>0</pre_timer_calendar_flag>
<pre_timer_calendar_id>0000000000000000</pre_timer_calendar_id>
<post_timer_repeat_last>0</post_timer_repeat_last>
<post_timer_calendar_flag>0</post_timer_calendar_flag>
<post_timer_calendar_id>0000000000000000</post_timer_calendar_id>
<r_performer_cond_id>0000000000000000</r_performer_cond_id>
<exec_retry_max>0</exec_retry_max>
<exec_retry_interval>0</exec_retry_interval>
<exec_subtype>0</exec_subtype>
<activity_group_id>0000000000000000</activity_group_id>
<activity_group_flag>0</activity_group_flag>
<lsm_id>0000000000000000</lsm_id>
<performer_name>
<item>N/A</item>
</performer_name>
<r_port_name>
<item>Input:0</item>
<item>Input:1</item>
<item>Input:1</item>
<item>Output:2</item>
<item>Output:1</item>
<item>Output:0</item>
</r_port_name>
<r_port_type>
<item>INPUT</item>
<item>REVERT</item>
<item>REVERT</item>
<item>OUTPUT</item>
<item>OUTPUT</item>
<item>OUTPUT</item>
</r_port_type>
<r_package_name>
<item/>
<item>Package0</item>
<item>Package1</item>
<item>Package0</item>
<item/>
<item>Package0</item>
</r_package_name>
<r_package_type>
<item/>
<item>dm_sysobject</item>
<item>dm_sysobject</item>
<item>dm_sysobject</item>
<item/>
<item>dm_sysobject</item>
</r_package_type>
<r_package_oprtn>
<item/>
<item/>
<item/>
<item/>
<item/>
<item/>
</r_package_oprtn>
<r_package_id>
<item>0000000000000000</item>
<item>0000000000000000</item>
<item>0000000000000000</item>
<item>0000000000000000</item>
<item>0000000000000000</item>
<item>0000000000000000</item>
</r_package_id>
<r_package_label>
<item/>
<item>CURRENT</item>
<item>CURRENT</item>
<item>CURRENT</item>
<item/>
<item>CURRENT</item>
</r_package_label>
<r_package_flag>
<item>1</item>
<item>1</item>
<item>1</item>
<item>1</item>
<item>1</item>
<item>1</item>
</r_package_flag>
<r_package_report_flag>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
</r_package_report_flag>
<r_object_id>4c000001800025c9</r_object_id>
</properties>
<links>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9" rel="self"/>
</links>
</workflow-activity>
"r_frozen_flag": false,
"r_has_events": false,
"acl_domain": "dmadmin",
"acl_name": "dm_4500000180000914",
"a_special_app": "palette/activity.gif",
"i_is_reference": false,
"r_creator_name": "dmadmin",
"r_is_public": true,
"r_policy_id": "0000000000000000",
"r_resume_state": 0,
"r_current_state": 0,
"r_alias_set_id": "0000000000000000",
"a_is_template": false,
"r_full_content_size": 0.0,
"a_is_signed": false,
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 5,
"is_private": false,
"r_definition_state": 2,
"trigger_threshold": 1,
"pre_timer": 0,
"post_timer": 0,
"repeatable_invoke": true,
"exec_type": 0,
"exec_method_id": "0000000000000000",
"exec_save_results": false,
"exec_time_out": 0,
"exec_err_handling": 0,
"performer_type": 0,
"performer_flag": 0,
"transition_type": 0,
"r_condition_id": "0000000000000000",
"sign_off_required": false,
"resolve_type": 0,
"control_flag": 0,
"transition_max_output_cnt": 0,
"transition_eval_cnt": 0,
"transition_flag": 0,
"pre_timer_repeat_last": 0,
"pre_timer_calendar_flag": 0,
"pre_timer_calendar_id": "0000000000000000",
"post_timer_repeat_last": 0,
"post_timer_calendar_flag": 0,
"post_timer_calendar_id": "0000000000000000",
"r_performer_cond_id": "0000000000000000",
"exec_retry_max": 0,
"exec_retry_interval": 0,
"exec_subtype": 0,
"activity_group_id": "0000000000000000",
"activity_group_flag": 0,
"lsm_id": "0000000000000000",
"performer_name": [
"N/A"
],
"r_port_name": [
"Input:0",
"Input:1",
"Input:1",
"Output:2",
"Output:1",
"Output:0"
],
"r_port_type": [
"INPUT",
"REVERT",
"REVERT",
"OUTPUT",
"OUTPUT",
"OUTPUT"
],
"r_package_name": [
"",
"Package0",
"Package1",
"Package0",
"",
"Package0"
],
"r_package_type": [
"",
"dm_sysobject",
"dm_sysobject",
"dm_sysobject",
"",
"dm_sysobject"
],
"r_package_oprtn": [
"",
"",
"",
"",
"",
""
],
"r_package_id": [
"0000000000000000",
"0000000000000000",
"0000000000000000",
"0000000000000000",
"0000000000000000",
"0000000000000000"
],
"r_package_label": [
"",
"CURRENT",
"CURRENT",
"CURRENT",
"",
"CURRENT"
],
"r_package_flag": [
1,
1,
1,
1,
1,
1
],
"r_package_report_flag": [
0,
0,
0,
0,
0,
0
],
"r_object_id": "4c000001800025c9"
},
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
}
}
}
{
"name": "workflow-template",
"type": "dm_process",
"definition": "http://localhost:8080/dctm-rest/repositories/REPO/types/
dm_process",
"properties": {
"object_name": "a_test_workflow",
"r_object_type": "dm_process",
"r_creation_date": "2018-12-25T09:17:22.000+00:00",
"r_modify_date": "2018-12-25T09:17:32.000+00:00",
"r_modifier": "dmadmin",
"a_is_hidden": false,
"i_is_deleted": false,
"a_archive": false,
"a_link_resolved": false,
"i_reference_cnt": 1,
"i_has_folder": true,
"i_folder_id": [
"0b00000180002364"
],
"r_link_cnt": 0,
"r_link_high_cnt": 0,
"r_assembled_from_id": "0000000000000000",
"r_frzn_assembly_cnt": 0,
"r_has_frzn_assembly": false,
"r_is_virtual_doc": 0,
"i_contents_id": "0600000180001500",
"a_content_type": "dm_internal",
"r_page_cnt": 1,
"r_content_size": 2525,
"a_full_text": true,
"a_storage_type": "filestore_01",
"i_cabinet_id": "0c00000180002114",
"owner_name": "dmadmin",
"owner_permit": 7,
"group_name": "docu",
"group_permit": 5,
"world_permit": 3,
"i_antecedent_id": "0000000000000000",
"i_chronicle_id": "4b0000018000236e",
"i_latest_flag": true,
"r_version_label": [
"1.0",
"CURRENT"
],
"i_branch_cnt": 0,
"i_direct_dsc": false,
"r_immutable_flag": false,
"r_frozen_flag": false,
"r_has_events": false,
"acl_domain": "dmadmin",
"acl_name": "dm_4500000180000914",
"i_is_reference": false,
"r_creator_name": "dmadmin",
"r_is_public": true,
"r_policy_id": "0000000000000000",
"r_resume_state": 0,
"r_current_state": 0,
"r_alias_set_id": "0000000000000000",
"a_is_template": false,
"r_full_content_size": 2525.0,
"a_is_signed": false,
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 4,
"is_private": false,
"r_definition_state": 2,
"perf_alias_set_id": "0000000000000000",
"package_control": 0,
"sd_element_default_acl": "0000000000000000",
"calendar_id": "0000000000000000",
"execution_flag": 0,
"r_act_name": [
"Auto-Activity-2",
"Auto-Activity-1",
"Activity-4",
"Activity-3",
"Activity-2",
"Activity-1"
],
"r_act_priority": [
0,
0,
0,
0,
0,
0
],
"r_act_type": [
0,
0,
0,
2,
0,
1
],
"r_act_def_id": [
"4c000001800025c4",
"4c000001800025c5",
"4c000001800025c6",
"4c000001800025c7",
"4c000001800025c8",
"4c000001800025c9"
],
"r_link_name": [
"L20",
"L16",
"L15",
"L14",
"L11",
"L10",
"L27",
"L26",
"L19",
"L30"
],
"r_link_src_act": [
"Auto-Activity-2",
"Activity-4",
"Activity-2",
"Activity-2",
"Activity-2",
"Activity-1",
"Activity-1",
"Activity-1",
"Auto-Activity-1",
"Activity-4"
],
"r_link_src_port": [
"Output:0",
"Output:0",
"Output:2",
"Output:1",
"Output:0",
"Output:0",
"Output:2",
"Output:1",
"Output:0",
"Output:1"
],
"r_link_dest_act": [
"Activity-3",
"Activity-3",
"Activity-4",
"Activity-1",
"Activity-3",
"Activity-2",
"Activity-4",
"Auto-Activity-1",
"Auto-Activity-2",
"Activity-4"
],
"r_link_dest_port": [
"Input:2",
"Input:1",
"Input:0",
"Input:1",
"Input:0",
"Input:0",
"Input:1",
"Input:0",
"Input:0",
"Input:2"
],
"r_object_id": "4b0000018000236e"
},
"_links": {
"http://identifiers.emc.com/linkrel/workflow-activity": [{
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c4",
"title": "Auto-Activity-2"
}, {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c5",
"title": "Auto-Activity-1"
}, {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c6",
"title": "Activity-4"
}, {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c7",
"title": "Activity-3"
}, {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c8",
"title": "Activity-2"
}, {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9",
"title": "Activity-1"
}
],
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
},
"http://identifiers.emc.com/linkrel/workflow-activities": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e/activities"
}
}
}
For more information, see “Workflow Template” on page 959 and About the
Diagrams on page 17.
2.88.2.2 Feed
Is this resource a feed? Yes.
2.88.2.4 Operations
2.88.2.4.1 Supported HTTP methods
Method Description
GET Retrieves a collection of Workflow Activity
templates as a feed.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e/activities",
"title": "Workflow activities",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-02-25T08:45:29.341+00:00",
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e/activities"
}
],
"entries": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9",
"title": "Activity-1",
"summary": "dm_activity 4c000001800025c9",
"updated": "2018-12-25T09:17:30.000+00:00",
"published": "2018-12-25T09:17:29.000+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
}
}
]
}
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e/activities",
"title": "Workflow activities",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-02-25T08:45:30.654+00:00",
"_embedded": {
"collection": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9",
"title": "Activity-1",
"summary": "dm_activity 4c000001800025c9",
"updated": "2018-12-25T09:17:30.000+00:00",
"published": "2018-12-25T09:17:29.000+00:00",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
}
}
}
]
},
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e/activities"
}
}
}
For more information, see “Workflow Attachments” on page 952 and About the
Diagrams on page 17.
2.89.1.2 Feed
No feed support.
2.89.1.4 Operations
Method Description
DELETE Removes a specified Workflow Attachment.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
N/A
For more information, see “Workflow” on page 906 and About the Diagrams
on page 17.
2.89.2.2 Feed
Is this resource a feed? Yes.
2.89.2.4 Operations
2.89.2.4.1 Supported HTTP methods
Method Description
GET Retrieves the workflow attachments.
POST Adds an attachment to a Workflow.
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/atom+xm
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
<content
src="http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments/0000000180000554"
type="application/vnd.emc.documentum+xml"/>
</entry>
</feed>
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments",
"title": "Workflow attachments",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-02-26T09:19:54.624+00:00",
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments"
}
],
"entries": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments/0000000180000554",
"title": "TargetSetup.Result",
"author": [{
"name": "dmadmin"
}
],
"summary": "dm_sysobject",
"updated": "2019-02-26T09:19:54.624+00:00",
"published": "2019-02-26T08:32:51.000+00:00",
"links": [{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflows/4d0000018000010a/attachments/0000000180000554"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
workflows/4d0000018000010a/attachments/0000000180000554"
}
}
]
}
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments",
"title": "Workflow attachments",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-02-26T09:19:57.162+00:00",
"_embedded": {
"collection": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments/0000000180000554",
"title": "TargetSetup.Result",
"author": [{
"name": "dmadmin"
}
],
"summary": "dm_sysobject",
"updated": "2019-02-26T09:19:57.162+00:00",
"published": "2019-02-26T08:32:51.000+00:00",
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflows/4d0000018000010a/attachments/
0000000180000554"
},
"http://identifiers.emc.com/linkrel/delete": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflows/4d0000018000010a/attachments/
0000000180000554"
}
}
}
]
},
"_links": {
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments"
}
}
}
• Authorization
• Accept
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xm
• application/vnd.emc.documentum+json
• application/hal+json
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xm
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
{
"object-id": "0000000180000554",
"component-id": "0900000180000220",
"component-name": "TargetSetup.Result",
"component-type": "dm_sysobject",
"creator-name": "dmadmin",
"creation-date": "2019-02-26T08:32:51.000+00:00",
"workflow-id": "4d0000018000010a",
"links": [{
"rel": "http://identifiers.emc.com/linkrel/delete",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments/0000000180000554"
}
]
}
{
"object-id": "0000000180000554",
"component-id": "0900000180000220",
"component-name": "TargetSetup.Result",
"component-type": "dm_sysobject",
"creator-name": "dmadmin",
"creation-date": "2019-02-26T08:32:51.000+00:00",
"workflow-id": "4d0000018000010a",
"_links": {
"http://identifiers.emc.com/linkrel/delete": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/workflows/
4d0000018000010a/attachments/0000000180000554"
}
}
For more information, see “Workflow Templates” on page 970 and About the
Diagrams on page 17.
2.90.1.2 Feed
No feed support.
2.90.1.4 Operations
2.90.1.4.1 Supported HTTP methods
Method Description
GET Retrieves a Workflow Template
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/vnd.emc.documentum+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
<a_full_text>true</a_full_text>
<a_storage_type>filestore_01</a_storage_type>
<i_cabinet_id>0c00000180002114</i_cabinet_id>
<owner_name>dmadmin</owner_name>
<owner_permit>7</owner_permit>
<group_name>docu</group_name>
<group_permit>5</group_permit>
<world_permit>3</world_permit>
<i_antecedent_id>0000000000000000</i_antecedent_id>
<i_chronicle_id>4b0000018000236e</i_chronicle_id>
<i_latest_flag>true</i_latest_flag>
<r_version_label>
<item>1.0</item>
<item>CURRENT</item>
</r_version_label>
<i_branch_cnt>0</i_branch_cnt>
<i_direct_dsc>false</i_direct_dsc>
<r_immutable_flag>false</r_immutable_flag>
<r_frozen_flag>false</r_frozen_flag>
<r_has_events>false</r_has_events>
<acl_domain>dmadmin</acl_domain>
<acl_name>dm_4500000180000914</acl_name>
<i_is_reference>false</i_is_reference>
<r_creator_name>dmadmin</r_creator_name>
<r_is_public>true</r_is_public>
<r_policy_id>0000000000000000</r_policy_id>
<r_resume_state>0</r_resume_state>
<r_current_state>0</r_current_state>
<r_alias_set_id>0000000000000000</r_alias_set_id>
<a_is_template>false</a_is_template>
<r_full_content_size>2525.0</r_full_content_size>
<a_is_signed>false</a_is_signed>
<i_partition>0</i_partition>
<i_is_replica>false</i_is_replica>
<i_vstamp>4</i_vstamp>
<is_private>false</is_private>
<r_definition_state>2</r_definition_state>
<perf_alias_set_id>0000000000000000</perf_alias_set_id>
<package_control>0</package_control>
<sd_element_default_acl>0000000000000000</sd_element_default_acl>
<calendar_id>0000000000000000</calendar_id>
<execution_flag>0</execution_flag>
<r_act_name>
<item>Auto-Activity-2</item>
<item>Auto-Activity-1</item>
<item>Activity-4</item>
<item>Activity-3</item>
<item>Activity-2</item>
<item>Activity-1</item>
</r_act_name>
<r_act_priority>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
</r_act_priority>
<r_act_type>
<item>0</item>
<item>0</item>
<item>0</item>
<item>2</item>
<item>0</item>
<item>1</item>
</r_act_type>
<r_act_def_id>
<item>4c000001800025c4</item>
<item>4c000001800025c5</item>
<item>4c000001800025c6</item>
<item>4c000001800025c7</item>
<item>4c000001800025c8</item>
<item>4c000001800025c9</item>
</r_act_def_id>
<r_link_name>
<item>L20</item>
<item>L16</item>
<item>L15</item>
<item>L14</item>
<item>L11</item>
<item>L10</item>
<item>L27</item>
<item>L26</item>
<item>L19</item>
<item>L30</item>
</r_link_name>
<r_link_src_act>
<item>Auto-Activity-2</item>
<item>Activity-4</item>
<item>Activity-2</item>
<item>Activity-2</item>
<item>Activity-2</item>
<item>Activity-1</item>
<item>Activity-1</item>
<item>Activity-1</item>
<item>Auto-Activity-1</item>
<item>Activity-4</item>
</r_link_src_act>
<r_link_src_port>
<item>Output:0</item>
<item>Output:0</item>
<item>Output:2</item>
<item>Output:1</item>
<item>Output:0</item>
<item>Output:0</item>
<item>Output:2</item>
<item>Output:1</item>
<item>Output:0</item>
<item>Output:1</item>
</r_link_src_port>
<r_link_dest_act>
<item>Activity-3</item>
<item>Activity-3</item>
<item>Activity-4</item>
<item>Activity-1</item>
<item>Activity-3</item>
<item>Activity-2</item>
<item>Activity-4</item>
<item>Auto-Activity-1</item>
<item>Auto-Activity-2</item>
<item>Activity-4</item>
</r_link_dest_act>
<r_link_dest_port>
<item>Input:2</item>
<item>Input:1</item>
<item>Input:0</item>
<item>Input:1</item>
<item>Input:0</item>
<item>Input:0</item>
<item>Input:1</item>
<item>Input:0</item>
<item>Input:0</item>
<item>Input:2</item>
</r_link_dest_port>
<r_object_id>4b0000018000236e</r_object_id>
</properties>
<links>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e" rel="self"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e/activities"
rel="http://identifiers.emc.com/linkrel/workflow-activities"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c4"
rel="http://identifiers.emc.com/linkrel/workflow-activity"
title="Auto-Activity-2"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c5"
rel="http://identifiers.emc.com/linkrel/workflow-activity"
title="Auto-Activity-1"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c6"
rel="http://identifiers.emc.com/linkrel/workflow-activity"
title="Activity-4"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c7"
rel="http://identifiers.emc.com/linkrel/workflow-activity"
title="Activity-3"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c8"
rel="http://identifiers.emc.com/linkrel/workflow-activity"
title="Activity-2"/>
<link
href="http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
rel="http://identifiers.emc.com/linkrel/workflow-activity"
title="Activity-1"/>
</links>
</workflow-template>
"a_content_type": "dm_internal",
"r_page_cnt": 1,
"r_content_size": 2525,
"a_full_text": true,
"a_storage_type": "filestore_01",
"i_cabinet_id": "0c00000180002114",
"owner_name": "dmadmin",
"owner_permit": 7,
"group_name": "docu",
"group_permit": 5,
"world_permit": 3,
"i_antecedent_id": "0000000000000000",
"i_chronicle_id": "4b0000018000236e",
"i_latest_flag": true,
"r_version_label": [
"1.0",
"CURRENT"
],
"i_branch_cnt": 0,
"i_direct_dsc": false,
"r_immutable_flag": false,
"r_frozen_flag": false,
"r_has_events": false,
"acl_domain": "dmadmin",
"acl_name": "dm_4500000180000914",
"i_is_reference": false,
"r_creator_name": "dmadmin",
"r_is_public": true,
"r_policy_id": "0000000000000000",
"r_resume_state": 0,
"r_current_state": 0,
"r_alias_set_id": "0000000000000000",
"a_is_template": false,
"r_full_content_size": 2525.0,
"a_is_signed": false,
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 4,
"is_private": false,
"r_definition_state": 2,
"perf_alias_set_id": "0000000000000000",
"package_control": 0,
"sd_element_default_acl": "0000000000000000",
"calendar_id": "0000000000000000",
"execution_flag": 0,
"r_act_name": [
"Auto-Activity-2",
"Auto-Activity-1",
"Activity-4",
"Activity-3",
"Activity-2",
"Activity-1"
],
"r_act_priority": [
0,
0,
0,
0,
0,
0
],
"r_act_type": [
0,
0,
0,
2,
0,
1
],
"r_act_def_id": [
"4c000001800025c4",
"4c000001800025c5",
"4c000001800025c6",
"4c000001800025c7",
"4c000001800025c8",
"4c000001800025c9"
],
"r_link_name": [
"L20",
"L16",
"L15",
"L14",
"L11",
"L10",
"L27",
"L26",
"L19",
"L30"
],
"r_link_src_act": [
"Auto-Activity-2",
"Activity-4",
"Activity-2",
"Activity-2",
"Activity-2",
"Activity-1",
"Activity-1",
"Activity-1",
"Auto-Activity-1",
"Activity-4"
],
"r_link_src_port": [
"Output:0",
"Output:0",
"Output:2",
"Output:1",
"Output:0",
"Output:0",
"Output:2",
"Output:1",
"Output:0",
"Output:1"
],
"r_link_dest_act": [
"Activity-3",
"Activity-3",
"Activity-4",
"Activity-1",
"Activity-3",
"Activity-2",
"Activity-4",
"Auto-Activity-1",
"Auto-Activity-2",
"Activity-4"
],
"r_link_dest_port": [
"Input:2",
"Input:1",
"Input:0",
"Input:1",
"Input:0",
"Input:0",
"Input:1",
"Input:0",
"Input:0",
"Input:2"
],
"r_object_id": "4b0000018000236e"
},
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activities",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e/activities"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"title": "Auto-Activity-2",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c4"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"title": "Auto-Activity-1",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c5"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"title": "Activity-4",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c6"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"title": "Activity-3",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c7"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"title": "Activity-2",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c8"
}, {
"rel": "http://identifiers.emc.com/linkrel/workflow-activity",
"title": "Activity-1",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9"
}
]
}
"r_frzn_assembly_cnt": 0,
"r_has_frzn_assembly": false,
"r_is_virtual_doc": 0,
"i_contents_id": "0600000180001500",
"a_content_type": "dm_internal",
"r_page_cnt": 1,
"r_content_size": 2525,
"a_full_text": true,
"a_storage_type": "filestore_01",
"i_cabinet_id": "0c00000180002114",
"owner_name": "dmadmin",
"owner_permit": 7,
"group_name": "docu",
"group_permit": 5,
"world_permit": 3,
"i_antecedent_id": "0000000000000000",
"i_chronicle_id": "4b0000018000236e",
"i_latest_flag": true,
"r_version_label": [
"1.0",
"CURRENT"
],
"i_branch_cnt": 0,
"i_direct_dsc": false,
"r_immutable_flag": false,
"r_frozen_flag": false,
"r_has_events": false,
"acl_domain": "dmadmin",
"acl_name": "dm_4500000180000914",
"i_is_reference": false,
"r_creator_name": "dmadmin",
"r_is_public": true,
"r_policy_id": "0000000000000000",
"r_resume_state": 0,
"r_current_state": 0,
"r_alias_set_id": "0000000000000000",
"a_is_template": false,
"r_full_content_size": 2525.0,
"a_is_signed": false,
"i_partition": 0,
"i_is_replica": false,
"i_vstamp": 4,
"is_private": false,
"r_definition_state": 2,
"perf_alias_set_id": "0000000000000000",
"package_control": 0,
"sd_element_default_acl": "0000000000000000",
"calendar_id": "0000000000000000",
"execution_flag": 0,
"r_act_name": [
"Auto-Activity-2",
"Auto-Activity-1",
"Activity-4",
"Activity-3",
"Activity-2",
"Activity-1"
],
"r_act_priority": [
0,
0,
0,
0,
0,
0
],
"r_act_type": [
0,
0,
0,
2,
0,
1
],
"r_act_def_id": [
"4c000001800025c4",
"4c000001800025c5",
"4c000001800025c6",
"4c000001800025c7",
"4c000001800025c8",
"4c000001800025c9"
],
"r_link_name": [
"L20",
"L16",
"L15",
"L14",
"L11",
"L10",
"L27",
"L26",
"L19",
"L30"
],
"r_link_src_act": [
"Auto-Activity-2",
"Activity-4",
"Activity-2",
"Activity-2",
"Activity-2",
"Activity-1",
"Activity-1",
"Activity-1",
"Auto-Activity-1",
"Activity-4"
],
"r_link_src_port": [
"Output:0",
"Output:0",
"Output:2",
"Output:1",
"Output:0",
"Output:0",
"Output:2",
"Output:1",
"Output:0",
"Output:1"
],
"r_link_dest_act": [
"Activity-3",
"Activity-3",
"Activity-4",
"Activity-1",
"Activity-3",
"Activity-2",
"Activity-4",
"Auto-Activity-1",
"Auto-Activity-2",
"Activity-4"
],
"r_link_dest_port": [
"Input:2",
"Input:1",
"Input:0",
"Input:1",
"Input:0",
"Input:0",
"Input:1",
"Input:0",
"Input:0",
"Input:2"
],
"r_object_id": "4b0000018000236e"
},
"_links": {
"http://identifiers.emc.com/linkrel/workflow-activity": [{
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c4",
"title": "Auto-Activity-2"
}, {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c5",
"title": "Auto-Activity-1"
}, {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c6",
"title": "Activity-4"
}, {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c7",
"title": "Activity-3"
}, {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c8",
"title": "Activity-2"
}, {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-activities/4c000001800025c9",
"title": "Activity-1"
}
],
"self": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
},
"http://identifiers.emc.com/linkrel/workflow-activities": {
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e/activities"
}
}
}
For more information, see “Repository” on page 562 and About the Diagrams
on page 17.
2.90.2.2 Feed
Is this resource a feed? Yes.
• Supports POST: No
• Entry: Workflow Template Resource
2.90.2.4 Operations
Method Description
GET Retrieves a collection of Workflow Templates
• Authorization
• Accept
For more information, see Appendix D, REST Common Definition - HTTP Headers
on page 987.
N/A
N/A
• Content-Type
For more information, see Appendix D, REST Common Definition - HTTP
Headers on page 987.
• application/atom+xml
• application/xml
• application/vnd.emc.documentum+json
• application/json
• application/hal+json
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates",
"title": "Workflow templates",
"author": [{
"name": "Open Text Documentum"
}
],
"updated": "2019-02-25T07:07:37.869+00:00",
"page": 1,
"items-per-page": 100,
"links": [{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates"
}
],
"entries": [{
"id": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e",
"title": "a_test_workflow",
"summary": "dm_process 4b0000018000236e",
"updated": "2018-12-25T09:17:32.000+00:00",
"published": "2018-12-25T09:17:22.000+00:00",
"links": [{
"rel": "edit",
"href": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}
],
"content": {
"type": "application/vnd.emc.documentum+json",
"src": "http://localhost:8080/dctm-rest/repositories/REPO/
workflow-templates/4b0000018000236e"
}
}
]
}
When false no
calculation of the
total count is done
In your
production
environment,
you can set
this
parameter to
false for
better
performance.
items- The number of entries integer >=1 100
per-page per page
When no view-
name is specified,
the names of
properties or
predefined views
are returned as a
comma separated
list.
Notes
• Please see the individual resource sections to see how each of the above
parameters are used, as this may vary by resource.
• When the view parameter is used on a single object resource that supports
this parameter (such as the Cabinet resource, Document resource, and so
on). the view attribute names must match the definition of the object data
type. A Bad request (400) error is returned if any unknown attributes for
the object data type are specified in the view parameter.
When the view parameter is used on a collection based resource that
supports this parameter (such as the Cabinets resource, Folder Child
Please also note the following view usage on a collection based resource:
– Aspect type attributes can also be put into the view when the aspect type
is attachable to the collection base type, such as . <dm_document> is in the
above sample.
– Collection items return the specified attributes only when the attributes
exist in those objects.
– Unknown attributes for collection items are ignored.
For example:
Authorization: Basic
QWxhZGRpbjpvcGVu
IHNlc2FtZQ==
For example:
Authorization: Negotiate
YIIZG1hZG1p
bjpwYXNzd29yZ...
Note: Kerberos
constrained delegation is
supported.
Accept Acceptable media type Request See note at the end of this table.
for the response
Content-Type Media type of the Request See note at the end of this table.
request or response
body Response
Content-Length The length of the Request Non-negative number
request body in octets
(8-bit bytes) Response
Location URI of the newly Response URI
created resource
ETag ETag value generated Response String value
by REST server
If-None-Match Checks whether the Request ETag value in previous server's
resource has changed response
Last-Modified Last modified time of Response HTTP-Date
the resource
Notes
• The Accept request-header field can be used to specify certain media types
which are acceptable for the response. Accept headers can be used to
indicate that the request is specifically limited to a small set of desired types,
as in the case of a request for an in-line image.
The asterisk “*” character is used to group media types into ranges, with “*/
*” indicating all media types and “type/*” indicating all subtypes of that
type. The media-range MAY include media type parameters that are
applicable to that range.
Each media-range can be followed by one or more accept-params,
beginning with the “q” parameter for indicating a relative quality factor. The
first “q” parameter (if any) separates the media-range parameter(s) from the
accept-params. Quality factors allow the user or user agent to indicate the
relative degree of preference for that media-range, using the qvalue scale
from 0 to 1. The default value of q is 1.
• The Content-Type entity-header field indicates the media type of the entity-
body sent to the recipient, or in the case of the HEAD method, the media
type that would have been sent had the Request been a GET.
</property>
<fulltext fuzzy="true">rest</fulltext>
<fulltext fuzzy="false">test</fulltext>
<property-range name="r_content_size" operator="BETWEEN"
repeating="false">
<from>0</from>
<to>10000</to>
</property-range>
<property-list name="r_object_type" operator="IN"
repeating="false">
<values>
<value>dm_document</value>
<value>dm_folder</value>
</values>
</property-list>
<expression-set>
<expressions>
<fulltext fuzzy="false">test</fulltext>
</expressions>
</expression-set>
<relative-date name="r_modify_date" time-unit="MONTH"
operator="GREATER THAN" >-2</relative-date>
</expressions>
</expression-set>
</search>
{
"all-versions": true,
"include-hidden-objects": false,
"max-results-for-facets": 10,
"types": [
"dm_document"
],
"columns": [
"r_object_type",
"object_name"
],
"sorts": [
{
"property": "r_content_size",
"ascending": true,
"lang": "fr",
"ascii": false
},
{
"property": "object_name",
"ascending": false,
"ascii": true
}
],
"collections": [
"collection1",
"collection2"
],
"locations": [
{
"location-type": "id-location",
"id": "0c00000580001914",
"repository": "REPO",
"descendent": true
},
{
"location-type": "path-location",
"path": "/dmadmin",
"repository": "REPO",
"descendent": false
}
],
"facet-definitions": [
{
"id": "id1",
"attributes": [
"r_object_type"
],
"group-by": "alpharange",
"sort": "FREQUENCY",
"properties": {
"skipEmptyValues": "true",
"range": "a:e, f:z"
},
"max-values": 8
},
{
"id": "id2",
"attributes": [
"r_modify_date"
],
"group-by": "relativeDate",
"sort": "VALUE_ASCENDING",
"properties": {
"returnUTC": "true",
"skipEmptyValues": "true"
},
"max-values": 9
}
],
"repositories": [
"REPO"
],
"expression-set": {
"expression-type": "expression-set",
"operator": "AND",
"expressions": [
{
"expression-type": "property",
"name": "object_name",
"operator": "CONTAINS",
"value": "rest",
"exact-match": true,
"repeating": true,
"case-sensitive": true,
"fuzzy": true
},
{
"expression-type": "fulltext",
"value": "rest",
"fuzzy": true
},
{
"expression-type": "fulltext",
"value": "test",
"fuzzy": false
},
{
"expression-type": "property-range",
"name": "r_content_size",
"operator": "BETWEEN",
"from": "0",
"to": "10000",
"repeating": false
},
{
"expression-type": "property-list",
"name": "r_object_type",
"operator": "IN",
"values": [
"dm_document",
"dm_folder"
],
"repeating": false
},
{
"expression-type": "expression-set",
"operator": "AND",
"expressions": [
{
"expression-type": "fulltext",
"value": "test",
"fuzzy": false
}
]
},
{
"expression-type": "relative-date",
"name": "r_modify_date",
"value": -2,
"time-unit": "MONTH",
"operator": "GREATER_THAN",
"repeating": false
}
]
}
}
Element Description
all-versions Indicates whether or not all versions of the objects are expected to be
included in the query results.
include-hidden- Indicates whether or not the hidden objects should be included in the
objects query results.
This element works when the URL parameter inline is set to true.
Element Description
collections Defines the collections to search.
REST services uses two strategies, ASCII sort and locale sort. The
following table describes the details:
Option Description
property Property to sort against
ascending Specifies whether or not to sort the results in
ascending order
Element Description
lang Specifies the locale that the system uses to sort
the results. The supported locale depends on
the xPlore configuration.
You can specify multiple sort items. In this case, the system sorts
results by the first sort item first, the by the second one, and so on so
forth. For example, with the sorts element defined as follows, the
system sorts results by <r_content_size> first, and then by <object_name>
for objects with the same <r_content_size>.
expression-set Defines the search criteria by using a set of expressions. Expression-
sets can be nested and associated with each other using logical AND
(default) or logical OR. The following five expressions are supported:
• fulltext expression
• property expression
• property list expression
• property range expression
• relative date expression
</expression-set>
<relative-date name="r_modify_date" time-unit="MONTH"
operator="GREATER_THAN" >-2</relative-date>
</expressions>
</expression-set>
"operator": "GREATER_THAN",
"repeating": false
}
]
}
In the following fuzzy search examples, the first row, where fuzzy search is set to
false, will match RESTful services, but not RESTFULL or RESTfol. The search
criteria must have an exact match to return a result.
The second row, where fuzzy is set to true, matches all of the above terms.
Table E-1:
Option Description
name Property name
value Property value
operator Supports the following logical operators: EQUAL, NOT_EQUAL,
GREATER_THAN, LESS_THAN, GREATER_EQUAL, LESS_EQUAL,
BEGINS_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH,
IS_NULL, IS_NOT_NULL
Option Description
fuzzy Whether or not to enable fuzzy search for the following operators:
SEARCH_OP_DOES_NOT_CONTAIN, SEARCH_OP_CONTAINS,
SEARCH_OP_EQUAL
The following property expression returns true when the object_name of an object
is rest.
Table E-2:
Option Description
name Property name
operator Supports the following logical operators:
• IN: returns true if the value of the property is in the value list.
• NOT IN: returns true if the value of the property is not in the value
list.
values List of discrete property values
repeating Whether the property is repeating
Table E-3:
Option Description
name Property name
operator Supports the logical BETWEEN operator. Returns true when the value of
the property is in the range specified by from and to attributes.
from Starting value
to Ending value
repeating Whether the property is repeating
Table E-4:
Option Description
name Time related property name, such as r_modify_date
time unit Supports these time units: MINUTE, DAY, MONTH, YEAR
value Number of the time unit
operator Supports these operators: EQUAL, GREATER_THAN, LESS_THAN,
GREATER_EQUAL, LESS_EQUAL
For example, the following expression returns true when r_modify_date is greater
than the current date minus 10 months:
{
"expression-type": "relative-date",
"name": "r_modify_date",
"value": -10,
"time-unit": "MONTH",
"operator": "GREATER_THAN",
"repeating": false
}
The following table lists all AQL expressions that support variables:
Table E-5:
• string
• range
• alpharange
• date
{
"id": "id1",
"attributes": [
"r_object_type"
],
"group-by": "alpharange",
}
The string grouping strategy is commonly used when a string property is set as the
facet, for example, r_object_type. This grouping strategy has the following
options:
<attributes>
<attribute>r_content_size</attribute>
</attributes>
<properties>
<property name="range">0:1000,1000:10000,10000:</property>
</properties>
<sort>FREQUENCY</sort>
</facet-definition>
{
"id": "id1",
"attributes": [
"r_content_size"
],
"group-by": "range",
"sort": "FREQUENCY",
"properties": {
"range": "0:1000,1000:10000,10000:"
}
}
The range grouping strategy is commonly used when a numeric property is set as
the facet, for example, r_content_size. This grouping strategy has the following
option:
Notes
{
"id": "id1",
"attributes": [
"r_object_name"
],
"group-by": "alpharange",
"sort": "FREQUENCY",
"properties": {
"range": "a:m,n:r,s:z"
}
}
The alpharange grouping strategy is commonly used when a string property is set
as the facet, for example, r_object_name. This grouping strategy has the following
option:
range (required): specifies a list of buckets for grouping. Each bucket is separated by
comma (','). A bucket is composed of a lower and upper bounds separated by colon
(':'). You can create open ended buckets by omitting one of the bounds but keeping
the comma separator. Overlapping buckets are not supported and may result in
inconsistent results.
Notes
{
"id": "id1",
"attributes": [
"r_modify_date"
],
"group-by": "week",
"sort": "FREQUENCY"
}
For more information on the options for this grouping strategy, see the Grouping
Strategies table on page 660.
– dm_archive
– dm_checkin
– dm_restore
– dm_assemble
– dm_checkout
– dm_save
– dm_bp_attach
– dm_destroy
– dm_setfile
– dm_bp_demote
– dm_freeze
– dm_signoff
– dm_bp_promote
– dm_link
– dm_unfreeze
– dm_bp_resume
– dm_lock
– dm_unlink
– dm_bp_suspend
– dm_mark
– dm_unlock
– dm_branch
– dm_prune