Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Hina Shah committed Aug 12, 2024
1 parent 7018667 commit dcc6ce0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ Ensure these files are present and contain the necessary credentials for accessi
- `/onPush`: Endpoint to receive Gitea push webhooks.
- `/readiness`: A readiness endpoint that returns 200 OK, indicating the service is ready to handle requests.
- `/liveness`: A liveness endpoint that returns 200 OK, indicating the service is alive and healthy.
- `/users`: Endpoint to handle users in Gitea instance
- `/users/ssh`: Endpoint to manage ssh keys for Gitea
- `/repos`: Endpoint to manage repo list

An example curl command needed to hit any of the endpoints is:
`curl -H "Authorization: Bearer <assist-token_from_secret>" -X GET "http://<server_ip>:9000/users?username=<user_name>"`

## Running the Application

Expand Down

0 comments on commit dcc6ce0

Please sign in to comment.