TeamCity REST API Reference 2023.05 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" : 4, "children" : "[[[files...|files.html]]]", "modificationTime" : "modificationTime", "name" : "name", "fullName" : "fullName", "href" : "href", "content" : "[[[href...|href.html]]]" }, "size" : 1, "children" : { "file" : [ "[[[file...|]]]" ], "count" : 3, "href" : "href" }, "modificationTime" : "modificationTime", "name" : "name", "fullName" : "fullName", "href" : "href", "content" : { "href" : "href" } }, "size" : 9, "children" : { "file" : [ "[[[file...|]]]" ], "count" : 3, "href" : "href" }, "modificationTime" : "modificationTime", "name" : "name", "fullName" : "fullName", "href" : "href", "content" : { "href" : "href" } }
Last modified: 22 May 2023