TeamCity REST API Reference 2024.07 Help

File

Represents a file.

Properties

Field

Data 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...|]]]</parent> <content>[[[href...|href.html]]]</content> <children>[[[files...|files.html]]]</children> </parent> <content href="string"/> <children count="123" href="string"> <file>[[[file...|]]]</file> </children> </file>
{ "parent" : { "parent" : { "parent" : "[[[file...|]]]", "size" : 0, "children" : "[[[files...|files.html]]]", "modificationTime" : "modificationTime", "name" : "name", "fullName" : "fullName", "href" : "href", "content" : "[[[href...|href.html]]]" }, "size" : 6, "children" : { "file" : [ "[[[file...|]]]" ], "count" : 4, "href" : "href" }, "modificationTime" : "modificationTime", "name" : "name", "fullName" : "fullName", "href" : "href", "content" : { "href" : "href" } }, "size" : 7, "children" : { "file" : [ "[[[file...|]]]" ], "count" : 4, "href" : "href" }, "modificationTime" : "modificationTime", "name" : "name", "fullName" : "fullName", "href" : "href", "content" : { "href" : "href" } }
Last modified: 04 July 2024