Get Folder Info

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Returns folder information.

For virtual use, the virtual repository returns the unified children. Supported by local, local-cached and virtual repositories.

Since: 2.2.0

Security: Requires a privileged user (can be anonymous)

Usage: GET /api/storage/{repoKey}/{folder-path}

Produces: application/json (application/vnd.org.jfrog.artifactory.storage.FolderInfo+json)

Sample Output:

GET /api/storage/libs-release-local/org/acme
{
"uri": "http://localhost:8081/artifactory/api/storage/libs-release-local/org/acme",
"repo": "libs-release-local",
"path": "/org/acme",
"created": ISO8601 (yyyy-MM-dd'T'HH:mm:ss.SSSZ),
"createdBy": "userY",
"lastModified": ISO8601 (yyyy-MM-dd'T'HH:mm:ss.SSSZ),
"modifiedBy": "userX",
"lastUpdated": ISO8601 (yyyy-MM-dd'T'HH:mm:ss.SSSZ),
"children": [
{
            "uri" : "/child1",
            "folder" : "true"
        },{
            "uri" : "/child2",
            "folder" : "false"
         }
]
}