Get metadata of specific file.
GET {{baseUrl}}/app/rest/vcs-root-instances/:vcsRootInstanceLocator/files/latest/metadata{{path}}?fields=<string>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | string |
RESPONSES
status: OK
{"name":"\u003cstring\u003e","fullName":"\u003cstring\u003e","size":"\u003clong\u003e","modificationTime":"\u003cstring\u003e","href":"\u003cstring\u003e","parent":{"name":"\u003cstring\u003e","fullName":"\u003cstring\u003e","size":"\u003clong\u003e","modificationTime":"\u003cstring\u003e","href":"\u003cstring\u003e","parent":{"value":"\u003cCircular reference to #/components/schemas/file detected\u003e"},"content":{"href":"\u003cstring\u003e"},"children":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","file":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}},"content":{"href":"\u003cstring\u003e"},"children":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","file":[{"name":"\u003cstring\u003e","fullName":"\u003cstring\u003e","size":"\u003clong\u003e","modificationTime":"\u003cstring\u003e","href":"\u003cstring\u003e","parent":{"value":"\u003cCircular reference to #/components/schemas/file detected\u003e"},"content":{"href":"\u003cstring\u003e"},"children":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","file":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}},{"name":"\u003cstring\u003e","fullName":"\u003cstring\u003e","size":"\u003clong\u003e","modificationTime":"\u003cstring\u003e","href":"\u003cstring\u003e","parent":{"value":"\u003cCircular reference to #/components/schemas/file detected\u003e"},"content":{"href":"\u003cstring\u003e"},"children":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","file":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}}]}}