--- http_interactions: - request: method: get uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=FA8F28B8DDAED8A5F44E82F15BE80CE6; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"project\":[{\"id\":\"_Root\",\"name\":\"<Root project>\",\"href\":\"/httpAuth/app/rest/projects/id:_Root\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=_Root\"},{\"id\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_Root\"}]}" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT - request: method: delete uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 403 message: Forbidden headers: Content-Type: - text/plain Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=E0B78CB8E13D1AFFD4D7A94429EA410E; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: |- Error has occurred during request processing (Forbidden). Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed Access denied. Check the user has enough permissions to perform the operation. http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT - request: method: delete uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 204 message: No Content headers: Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=E5487EA5EEC8BF6DAC8F6AED148B75F4; Path=/; HttpOnly Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT - request: method: post uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects body: string: "{\"name\":\"Petshop App\"}" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=A9573D2629DBBD6408C5470B75796801; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"id\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_Root\"}" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT - request: method: get uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/name:Petshop%20App body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=714F51EBAAFAEBAAEE1D20281B8B43AF; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"id\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_Root\"}" http_version: recorded_at: Fri, 23 May 2014 15:05:38 GMT recorded_with: VCR 2.4.0