FileNameAndPath is a datatype for specifying a file's name and path.

This datatype is used by the createLookupFileFromPackageTemplate() mutation field. It's also used by two other datatypes: File is used by the addFileLabels() and removeFileLabels() mutation fields; and UploadedFileSnapshot, which is used by the newFile() and updateFile() mutations, as well as the query, getFileContent().

Table: FileNameAndPath

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Sep 25, 2024
namestringyes Long-TermThe name of the file.
pathstring  Long-TermPaths for files can be one of two types: absolute or relative. Absolute paths start with a slash, and relative paths start without a slash, like Unix paths. Every repository or view in the system is considered a "folder" in its own right, meaning that every relative path is relative to the current view. An absolute path points to something that can be addressed from any view, and a relative path points to a file located inside the view. If there is no path, it means the file is located at your current location.