TeamCity 2020.2 Help

File

Represents a file.

Properties

FieldData type

name

string

fullName

string

size

long

modificationTime

string

href

string

parent

file

content

Href

children

Files

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<file fullName="string" href="string" modificationTime="string" name="string" size="123456789"> <parent fullName="string" href="string" modificationTime="string" name="string" size="123456789"> <parent>[[[file...|file.html]]]</parent> <content>[[[href...|href.html]]]</content> <children>[[[files...|files.html]]]</children> </parent> <content href="string"/> <children count="123" href="string"> <file>[[[file...|file.html]]]</file> </children> </file>
{ "parent" : { "parent" : { "parent" : "[[[file...|file.html]]]", "size" : 4, "children" : "[[[files...|files.html]]]", "modificationTime" : "modificationTime", "name" : "name", "fullName" : "fullName", "href" : "href", "content" : "[[[href...|href.html]]]" }, "size" : 1, "children" : { "file" : [ "[[[file...|file.html]]]" ], "count" : 4, "href" : "href" }, "modificationTime" : "modificationTime", "name" : "name", "fullName" : "fullName", "href" : "href", "content" : { "href" : "href" } }, "size" : 9, "children" : { "file" : [ "[[[file...|file.html]]]" ], "count" : 4, "href" : "href" }, "modificationTime" : "modificationTime", "name" : "name", "fullName" : "fullName", "href" : "href", "content" : { "href" : "href" } }
Last modified: 09 March 2021