centraldogma icon indicating copy to clipboard operation
centraldogma copied to clipboard

Feature request: Copy api url

Open jay0129 opened this issue 4 years ago • 0 comments

I wanted to find API url because I want to use curl to collect my configuration.

I finally found the api url, and it looks like this: curl http://xx.xx.xx.xx:xxxxx/api/v1/projects/food/repos/dogma/contents/apple where food is a project name, dogma is a user repository name and apple is a content name.

I found it by using the command line tool 'dogma' since it returned:

[
  {
    "type": "TEXT",
    "path": "/apple",
    "revision": 4,
    "url": "/api/v1/projects/food/repos/dogma/contents/apple"
  }
]

However, it would be better if I can get this url easily from the web console.

jay0129 avatar Jan 10 '22 02:01 jay0129