<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I tried to reproduce your problem. I opened a file from gitlab.com
in Web Author [1].<br>
Watching the network tab I can see the
<a class="moz-txt-link-freetext" href="https://gitlab.example.com/api/v4/projects/foo%2Fbar">https://gitlab.example.com/api/v4/projects/foo%2Fbar</a> request being
made and succeeding.<br>
The GitLab documentation says the syntax is correct [2][3].<br>
<br>
Can you create a repository with the same name as your private
respository on <a class="moz-txt-link-freetext" href="https://gitlab.com">https://gitlab.com</a>? Can you still reproduce the issue
there?<br>
What version of GitLab are you using?<br>
<br>
Best,<br>
Gabriel<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/oxygen-xml-web-author/app/oxygen.html?url=gitgl%3A%2F%2Fhttps%253A%252F%252Fgitlab.com%252Fg-tit-oxygen%252Fgit-plugin-tests%2Fmaster%2Fflowers%2Ftopics%2Fcare.dita">https://www.oxygenxml.com/oxygen-xml-web-author/app/oxygen.html?url=gitgl%3A%2F%2Fhttps%253A%252F%252Fgitlab.com%252Fg-tit-oxygen%252Fgit-plugin-tests%2Fmaster%2Fflowers%2Ftopics%2Fcare.dita</a><br>
[2] <a class="moz-txt-link-freetext" href="https://docs.gitlab.com/ee/api/projects.html#get-single-project">https://docs.gitlab.com/ee/api/projects.html#get-single-project</a><br>
[3]
<a class="moz-txt-link-freetext" href="https://docs.gitlab.com/ee/api/README.html#namespaced-path-encoding">https://docs.gitlab.com/ee/api/README.html#namespaced-path-encoding</a><br>
<br>
<br>
<div class="moz-cite-prefix">On 08-Aug-18 12:38, Jirka Kosek wrote:<br>
</div>
<blockquote type="cite"
cite="mid:d8cbb6cf-e500-ab43-e4f3-dd55dd345fb0@kosek.cz">
<pre wrap="">Hi,
I'm struggling to configure oXygen Web Author to access files from
GitLab (on-premise). Everything should be configured properly, I can
autenticate to GitLab from Web Author and can list available
repositories. But once I want to access repository -- i.e. browse it for
files or create new file I'm getting the following error message:
Failed to open repository: <a class="moz-txt-link-freetext" href="https://gitlab.example.com/foo/bar">https://gitlab.example.com/foo/bar</a>
(I have obfuscated actual URL to repository).
On a closer inspection in Developer tools it seems that Web Author tries
to access:
<a class="moz-txt-link-freetext" href="https://gitlab.example.com/api/v4/projects/foo%2Fbar">https://gitlab.example.com/api/v4/projects/foo%2Fbar</a>
GitLab returns 404 for such URL. I have skimmed over GitLab
documentation and it seems that proper URL syntax should be
<a class="moz-txt-link-freetext" href="https://gitlab.example.com/api/v4/projects/$id$">https://gitlab.example.com/api/v4/projects/$id$</a>
where $id$ is project identifier that can be obtained by accessing
projects metadata at <a class="moz-txt-link-freetext" href="https://gitlab.example.com/api/v4/projects/">https://gitlab.example.com/api/v4/projects/</a>
I'm not sure if this problem in oXygen Web Author of perhaps using some
older API or whether there is something that I have to change in GitLab
configuration.
Anyone noticed this problem and found solution?
Many thanks in advance,
Jirka
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<br>
</body>
</html>