Is there a way available to get all the collection names under which an entity is being assigned?

Avatar

Avatar
Validate 1
Level 2
digitalr3317510
Level 2

Like

1 like

Total Posts

11 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
digitalr3317510
Level 2

Like

1 like

Total Posts

11 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
digitalr3317510
Level 2

06-08-2015

Is there a way available to get all the collection names under which an entity is being assigned?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Employee
mikecyang
Employee

Likes

10 likes

Total Posts

54 posts

Correct reply

23 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Employee
mikecyang
Employee

Likes

10 likes

Total Posts

54 posts

Correct reply

23 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
mikecyang
Employee

11-08-2015

Hi,

To get the list of collections that reference a specified entity, please refer to the following API request (see Producer-Service-Entity section of the swagger documentation):

GET /publication/{publicationID}/{entityType}/{entityName}/{referencingEntityType}

The above request has been added to the DPS2015 Content Producer API examples, you can now use the function getReferencing(). Please see /article/get_referencing_entity.php for the full example.

You can download the latest DPS2015 Content Producer API examples and swagger documentation from here‌, all the resources are in a single zip file.

- Mike

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
digitalr3317510
Level 2

Like

1 like

Total Posts

11 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
digitalr3317510
Level 2

Like

1 like

Total Posts

11 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
digitalr3317510
Level 2

11-08-2015

I found that the getContentElements() will return the list of entities within a collection but is there a way to get all the collection names under which an entity is being assigned?