You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🗒️ note:
Auth Module is based on GitHub OAuth Apps!
You can get your testing authCode at our GitHub OAuth Apps
Request of /auth/github-login?code give you cookies that can access every request that need cookies
// case 1: Normal Case -> creating repository successfully [200]
{
"owner": "AgainIoT",
"repoName": "Open-Set-Go_test",
"description": "This is the test of creating repository with `/repo` POST Method"
}
// case 2: Worse Case -> already existing repository [404]
{
"owner": "AgainIoT",
"repoName": "Open-Set-Go_server",
"description": "This is the test of creating repository with `/repo` POST Method"
}
Response Body
// case 1: Normal Case -> creating repository successfully [200]OK// case 2: Worse Case -> already existing repository [404]Not Found
[
{
"license": "apache-2.0",
"name": "Apache License 2.0",
"description": "A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code.",
"permissions": [
"commercial-use",
"modifications",
"distribution",
"patent-use",
"private-use"
],
"conditions": ["include-copyright", "document-changes"],
"limitations": ["trademark-use", "liability", "warranty"],
"featured": true
},
{
"license": "mit",
"name": "MIT License",
"description": "A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.",
"permissions": [
"commercial-use",
"modifications",
"distribution",
"private-use"
],
"conditions": ["include-copyright"],
"limitations": ["liability", "warranty"],
"featured": true
} // ... more than 5 licenses
]
- **Please check if the PR fulfills these requirements**
* [ ] Tests for the changes have been added (for bug fixes / features)
* [ ] Docs have been added / updated (for bug fixes / features)
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
* **What is the current behavior?** (You can also link to an open issue here)
- **What is the new behavior (if this is a feature change)?**
* **Does this PR introduce a breaking change?** (What changes might users need to make in their application due to this
PR?)
- **Other information**:
{
"owner": "AgainIoT",
"repoName": "Open-Set-Go",
"description": "Open-Set-Go is the name of asdfadsfasdfasdfadsadsfasasd", // optional"license": "Apaceh 2.0 License"// optional
}
Response Body
[
{
"_id": "6527a963f2ab4fc291e5ffcf",
"index": 1,
"type": "Title and Description",
"content": "# Open-Set-Go\n\n<p align=\"center\">\n<a href=\"https://github.com/AgainIoT/Open-Set-Go/\" target=\"blank\"><img src=\"https://github.com/AgainIoT/Open-Set-Go/raw/main/.github/images/Open-Set-Go.png\" width=\"200\" alt=\"Enter Your Logo!\" /></a>\n</p>\n\n<p align=\"center\">\n Open-Set-Go is the name of asdfadsfasdfasdfadsadsfasasd\n</p>\n\n<p align=\"center\">\n <a href=\"/LICENSE\"><img src=\"https://img.shields.io/github/license/AgainIoT/Open-Set-Go\" alt=\"License\" /></a>\n <a href=\"https://github.com/AgainIoT/Open-Set-Go/graphs/contributors\" target=\"_blank\"><img src=\"https://img.shields.io/github/contributors-anon/AgainIoT/Open-Set-Go\" alt=\"contributors\" /></a>\n <a href=\"https://github/AgainIoT/Open-Set-Go\"><img src=\"https://img.shields.io/github/last-commit/AgainIoT/Open-Set-Go\" alt=\"your repo's last-commit\" /></a>\n <a href=\"https://github/AgainIoT/Open-Set-Go\"><img src=\"https://img.shields.io/github/stars/AgainIoT/Open-Set-Go\" alt=\"your repo's stars\" /></a>\n <a href=\"https://github/AgainIoT/Open-Set-Go\"><img src=\"https://img.shields.io/github/forks/AgainIoT/Open-Set-Go\" alt=\"your repo's forks\" /></a>\n <a href=\"https://github/AgainIoT/Open-Set-Go\"><img src=\"https://img.shields.io/github/watchers/AgainIoT/Open-Set-Go\" alt=\"your repo's watchers\" /></a>\n <a href=\"https://github/AgainIoT/Open-Set-Go\"><img src=\"https://img.shields.io/github/issues/AgainIoT/Open-Set-Go\" alt=\"your repo's issues\" /></a>\n</p>\n"
},
{
"_id": "6527ab64f2ab4fc291e5ffd1",
"index": 6,
"type": "License",
"content": "# License\n\nOpen-Set-Go is released under Apaceh 2.0 License.\nSee the [LICENSE file](\"./LICENSE\") for details.\n"
}
]
{
"owner": "AgainIoT",
"repoName": "Open-Set-Go",
"description": "Open-Set-Go is the name of asdfadsfasdfasdfadsadsfasasd", // optional"license": "Apaceh 2.0 License"// optional
}
Response Body
[
{
"_id": "6527a963f2ab4fc291e5ffcf",
"index": 1,
"type": "Title and Description",
"content": "# Open-Set-Go\n\n<p align=\"center\">\n<a href=\"https://github.com/AgainIoT/Open-Set-Go/\" target=\"blank\"><img src=\"https://github.com/AgainIoT/Open-Set-Go/raw/main/.github/images/Open-Set-Go.png\" width=\"200\" alt=\"Enter Your Logo!\" /></a>\n</p>\n\n<p align=\"center\">\n Open-Set-Go is the name of asdfadsfasdfasdfadsadsfasasd\n</p>\n\n<p align=\"center\">\n <a href=\"/LICENSE\"><img src=\"https://img.shields.io/github/license/AgainIoT/Open-Set-Go\" alt=\"License\" /></a>\n <a href=\"https://github.com/AgainIoT/Open-Set-Go/graphs/contributors\" target=\"_blank\"><img src=\"https://img.shields.io/github/contributors-anon/AgainIoT/Open-Set-Go\" alt=\"contributors\" /></a>\n <a href=\"https://github/AgainIoT/Open-Set-Go\"><img src=\"https://img.shields.io/github/last-commit/AgainIoT/Open-Set-Go\" alt=\"your repo's last-commit\" /></a>\n <a href=\"https://github/AgainIoT/Open-Set-Go\"><img src=\"https://img.shields.io/github/stars/AgainIoT/Open-Set-Go\" alt=\"your repo's stars\" /></a>\n <a href=\"https://github/AgainIoT/Open-Set-Go\"><img src=\"https://img.shields.io/github/forks/AgainIoT/Open-Set-Go\" alt=\"your repo's forks\" /></a>\n <a href=\"https://github/AgainIoT/Open-Set-Go\"><img src=\"https://img.shields.io/github/watchers/AgainIoT/Open-Set-Go\" alt=\"your repo's watchers\" /></a>\n <a href=\"https://github/AgainIoT/Open-Set-Go\"><img src=\"https://img.shields.io/github/issues/AgainIoT/Open-Set-Go\" alt=\"your repo's issues\" /></a>\n</p>\n"
},
{
"_id": "6527ab64f2ab4fc291e5ffd1",
"index": 6,
"type": "License",
"content": "# License\n\nOpen-Set-Go is released under Apaceh 2.0 License.\nSee the [LICENSE file](\"./LICENSE\") for details.\n"
}
]