Skip to content

Get Id of file or folder

Request

Returns the ID of file and/or folder

Security
bearerAuth
Path
projectIdinteger, (int64), >= 1required

ID of the Project

Example:1
Query
filePathstring

Path of File (Example: git.0/angular/packages/forms/package.json)

folderPathstring

Path of Folder (Example: git.0/angular/packages/forms)

curl -i -X GET \
  'https://codeinsightapi.redocly.app/_mock/swagger/projects/1/files?filePath=string&folderPath=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json