• Document Up to Date

Get dependencies

Get dependencies

Resource Information

This service uses the tomcat application on port 8080 by default. To see a list of default ports click here

The context for this API is /studio, please prefix the API URLs with this context.

HTTP Verb
POST
URL
/api/1/services/api/1/dependency/get-dependencies.json
Response Formats
JSON
Required Role
N/A

Parameters

Name
Type
Required
Description
site_id
String
Site to use
uri
String
Path of the content

Example

POST .../api/1/services/api/1/dependency/get-dependencies.json?site_id=mysite
[
    {
        uri:"/site/website/style/index.xml"
    }
]

Response

  1{
  2    "submissionComment":"",
  3    "items":
  4        [
  5            {
  6                "name":"index.xml",
  7                "internalName":"Style",
  8                "contentType":"/page/category-landing",
  9                "uri":"/site/website/style/index.xml",
 10                "path":"/site/website/style",
 11                "browserUri":"/style",
 12                "navigation":true,
 13                "floating":false,
 14                "hideInAuthoring":false,
 15                "previewable":true,
 16                "lockOwner":"",
 17                "user":"admin",
 18                "userFirstName":"admin",
 19                "userLastName":"",
 20                "nodeRef":null,
 21                "metaDescription":null,
 22                "site":"mysite",
 23                "page":true,
 24                "component":false,
 25                "document":false,
 26                "asset":false,
 27                "isContainer":true,
 28                "container":true,
 29                "disabled":false,
 30                "savedAsDraft":false,
 31                "submitted":false,
 32                "submittedForDeletion":false,
 33                "scheduled":false,
 34                "published":false,
 35                "deleted":false,
 36                "inProgress":true,
 37                "live":false,
 38                "inFlight":false,
 39                "isDisabled":false,
 40                "isSavedAsDraft":false,
 41                "isInProgress":true,
 42                "isLive":false,
 43                "isSubmittedForDeletion":false,
 44                "isScheduled":false,
 45                "isPublished":false,
 46                "isNavigation":false,
 47                "isDeleted":false,
 48                "isNew":false,
 49                "isSubmitted":false,
 50                "isFloating":false,
 51                "isPage":true,
 52                "isPreviewable":true,
 53                "isComponent":false,
 54                "isDocument":false,
 55                "isAsset":false,
 56                "isInFlight":false,
 57                "eventDate":"2017-07-14T20:53:31+02:00",
 58                "endpoint":null,
 59                "timezone":null,
 60                "numOfChildren":0,
 61                "scheduledDate":null,
 62                "publishedDate":null,
 63                "mandatoryParent":null,
 64                "isLevelDescriptor":false,
 65                "categoryRoot":null,
 66                "lastEditDate":"2017-07-14T20:53:31+02:00",
 67                "form":"/page/category-landing",
 68                "formPagePath":"simple",
 69                "renderingTemplates":
 70                    [
 71                        {
 72                            "uri":"/templates/web/pages/category-landing.ftl",
 73                            "name":"DEFAULT"
 74                        }
 75                    ],
 76                "folder":false,
 77                "submissionComment":null,
 78                "components":null,
 79                "documents":null,
 80                "levelDescriptors":null,
 81                "pages":[ ],
 82                "parentPath":null,
 83                "orders":
 84                    [
 85                        {
 86                            "name":null,
 87                            "id":"default",
 88                            "placeInNav":null,
 89                            "order":8000.0,
 90                            "disabled":null
 91                        }
 92                    ],
 93                "children":[ ],
 94                "size":0.0,
 95                "sizeUnit":null,
 96                "mimeType":"application/xml",
 97                "levelDescriptor":false,
 98                "newFile":false,
 99                "reference":false,
100                "new":false
101            }
102        ],
103    "dependencies":[ ]
104}
Status
Location
Response Body
200

See example above.