AP平台需要掌握bot下載的位置,並且提供給全集團下載使用。
因此會遇上跨區使用上的問題。
gitlab具有掌握token便可以探訪到project的功能,將token不被洩密的狀況下
由AP平台在背後全權操作。
用途 | 位置 |
---|---|
檔案 | push 在 gitlab -> project 內 |
版本list | gitlab -> releases |
https://gitlab.com/api/v4/projects/:id/releases
https://gitlab.com/api/v4/projects/:id/repository/files/:file_path
指向 | 網址格式 |
---|---|
原本網址 | https://gitlab.com/user/test/-/blob/main/src/index.ejs |
Encode | blob%2Fmain%2Fsrc%2Findex.ejs |
Git