Skip to content

feat(ACI): Document Organization Detector Details Endpoints#106148

Merged
ceorourke merged 4 commits intomasterfrom
ceorourke/document-org-detector-details-get
Jan 20, 2026
Merged

feat(ACI): Document Organization Detector Details Endpoints#106148
ceorourke merged 4 commits intomasterfrom
ceorourke/document-org-detector-details-get

Conversation

@ceorourke
Copy link
Member

@ceorourke ceorourke commented Jan 13, 2026

Add documentation for GET, PUT, and DELETE detector details endpoints.

localhost_3000_api_workflows_fetch-a-monitor_ localhost_3000_api_workflows_update-a-monitor-by-id_ Screenshot 2026-01-20 at 12 29 42 PM

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 13, 2026
def delete(self, request: Request, organization: Organization, detector: Detector):
"""
Delete a detector
Delete a monitor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I don't think the internal comments need to refer to detectors as monitors, just the external docs. But it's fine either way (tbh I don't think we even need these comments since it's obvious already what it does but whatevs)

publish_status = {
"GET": ApiPublishStatus.EXPERIMENTAL,
"GET": ApiPublishStatus.PUBLIC,
"PUT": ApiPublishStatus.EXPERIMENTAL,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the PUT be public now too?

Copy link
Member Author

@ceorourke ceorourke Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops this actually shouldn't be merged as public at all, I'm going to do that all at once and add the sidebar item. Right now I am adding the docs quietly so they won't show up anywhere until they are all ready. I set them to public while working on them so I can run the API docs tests to make sure they're valid and run the docs locally and check everything.


GET_DETECTOR = [
OpenApiExample(
"Fetch a monitor",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDK where this shows up but do we need to capitalize Monitor?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, this will show up as the example success response on the docs pages - will capitalize.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this doesn't show up anywhere but I updated it anyway 😅

@ceorourke ceorourke force-pushed the ceorourke/document-org-detector-details-get branch from 0c1b2cc to 86773ab Compare January 20, 2026 20:31
@ceorourke ceorourke marked this pull request as ready for review January 20, 2026 20:34
@ceorourke ceorourke requested review from a team as code owners January 20, 2026 20:34
@ceorourke ceorourke requested a review from malwilley January 20, 2026 21:00
@ceorourke ceorourke merged commit 1fc1f56 into master Jan 20, 2026
68 checks passed
@ceorourke ceorourke deleted the ceorourke/document-org-detector-details-get branch January 20, 2026 21:14
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants