Skip to content

add endpoint existence check and update functionality by slug#5

Merged
IonesioJunior merged 1 commit intomainfrom
feat/update-endpoint-by-slug
Jan 13, 2026
Merged

add endpoint existence check and update functionality by slug#5
IonesioJunior merged 1 commit intomainfrom
feat/update-endpoint-by-slug

Conversation

@shubham3121
Copy link
Copy Markdown
Member

This pull request adds new functionality for managing endpoints by their slug, including checking for existence and updating endpoints, and introduces supporting methods in the service layer. The main changes are grouped into API additions and service logic updates.

API additions:

  • Added GET /{endpoint_slug}/exists endpoint to check if an endpoint exists for the current user by slug.
  • Added PATCH /{endpoint_slug} endpoint to update an endpoint by slug for the current user.

Service logic updates:

  • Implemented endpoint_exists_for_user method in EndpointService to check endpoint existence by user and slug.
  • Added update_endpoint_by_slug method in EndpointService to update endpoints by slug, including contributor validation and permission checks.

@IonesioJunior IonesioJunior merged commit cae51b9 into main Jan 13, 2026
11 checks passed
@IonesioJunior IonesioJunior deleted the feat/update-endpoint-by-slug branch January 15, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants