'GET /projects/{project-name}/branches/{branch-id}/files/{file-id}/content'
Gets the content of a file from the HEAD revision of a certain branch.
Always it returns 404 not found,--
Thanks in advance.
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
yes
URL is constructed as per below
{project-name} = 'platform%2Fvendor%2ex.git'
{branch-id}= 'test_master'
{file-id} = 'java%2Frvi%2Fabcd%2Fconfiguration.a.xml'
Replaced ’/’ with %2F
gerrit_url/a/projects/platform%2Fvendor%2ex.git/branches/test_master/files/java%2Frvi%2Fabcd%2Fconfiguration.a.xml/content
sorry its an example ,we have tried it does not workOn Fri, Jan 5, 2018 at 5:58 PM, Edwin Kempin <eke...@google.com> wrote:On Fri, Jan 5, 2018 at 1:24 PM, praveenm mulimani <praveen....@gmail.com> wrote:yes
URL is constructed as per below
{project-name} = 'platform%2Fvendor%2ex.git'
{branch-id}= 'test_master'
{file-id} = 'java%2Frvi%2Fabcd%2Fconfiguration.a.xml'
Replaced ’/’ with %2F
gerrit_url/a/projects/platform%2Fvendor%2ex.git/branches/test_master/files/java%2Frvi%2Fabcd%2Fconfiguration.a.xml/contentTry the project name without ".git" extension.If this doesn't help try if the following work to narrow down the problem:1. gerrit_url/a/projects/2. gerrit_url/a/projects/<project>/3. gerrit_url/a/projects/<project>/branches/4. gerrit_url/a/projects/<project>/branches/<branch-name>
'GET /projects/{project-name}/branches/{branch-id}'
it is working.
issue is if we add {file-id} = 'java%2Frvi%2Fabcd%2Fconfiguration.a.xml' it is returning 404 error
Yes, we have included
--
Thanks in advance.
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
------
--Praveen M
9986069592Praveen M
9986069592Praveen M
9986069592Praveen M
9986069592