Skip to content

Commit b19d687

Browse files
author
stlc-bot
committed
docs(openapi): complete concise API reference metadata (#1329)
Stainless-Generated-From: 9321477
1 parent 37a01c9 commit b19d687

93 files changed

Lines changed: 2116 additions & 2844 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎src/context/dev/_client.py‎

Lines changed: 24 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,7 @@ def utility(self) -> UtilityResource:
157157

158158
@cached_property
159159
def monitors(self) -> MonitorsResource:
160-
"""
161-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
162-
"""
160+
"""Watch websites for exact or meaningful changes."""
163161
from .resources.monitors import MonitorsResource
164162

165163
return MonitorsResource(self)
@@ -185,27 +183,21 @@ def people(self) -> PeopleResource:
185183

186184
@cached_property
187185
def news(self) -> NewsResource:
188-
"""Search live first-party RSS and free historical news data by company identity."""
186+
"""Search live and historical news about a company."""
189187
from .resources.news import NewsResource
190188

191189
return NewsResource(self)
192190

193191
@cached_property
194192
def logs(self) -> LogsResource:
195-
"""Read your organization's API request logs to debug failed calls.
196-
197-
These endpoints cost no credits and use a separate rate limit.
198-
"""
193+
"""Read your organization's API request logs."""
199194
from .resources.logs import LogsResource
200195

201196
return LogsResource(self)
202197

203198
@cached_property
204199
def feedback(self) -> FeedbackResource:
205-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
206-
207-
Submissions cost no credits and use a separate rate limit.
208-
"""
200+
"""Report API issues and documentation mismatches."""
209201
from .resources.feedback import FeedbackResource
210202

211203
return FeedbackResource(self)
@@ -419,9 +411,7 @@ def utility(self) -> AsyncUtilityResource:
419411

420412
@cached_property
421413
def monitors(self) -> AsyncMonitorsResource:
422-
"""
423-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
424-
"""
414+
"""Watch websites for exact or meaningful changes."""
425415
from .resources.monitors import AsyncMonitorsResource
426416

427417
return AsyncMonitorsResource(self)
@@ -447,27 +437,21 @@ def people(self) -> AsyncPeopleResource:
447437

448438
@cached_property
449439
def news(self) -> AsyncNewsResource:
450-
"""Search live first-party RSS and free historical news data by company identity."""
440+
"""Search live and historical news about a company."""
451441
from .resources.news import AsyncNewsResource
452442

453443
return AsyncNewsResource(self)
454444

455445
@cached_property
456446
def logs(self) -> AsyncLogsResource:
457-
"""Read your organization's API request logs to debug failed calls.
458-
459-
These endpoints cost no credits and use a separate rate limit.
460-
"""
447+
"""Read your organization's API request logs."""
461448
from .resources.logs import AsyncLogsResource
462449

463450
return AsyncLogsResource(self)
464451

465452
@cached_property
466453
def feedback(self) -> AsyncFeedbackResource:
467-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
468-
469-
Submissions cost no credits and use a separate rate limit.
470-
"""
454+
"""Report API issues and documentation mismatches."""
471455
from .resources.feedback import AsyncFeedbackResource
472456

473457
return AsyncFeedbackResource(self)
@@ -623,9 +607,7 @@ def utility(self) -> utility.UtilityResourceWithRawResponse:
623607

624608
@cached_property
625609
def monitors(self) -> monitors.MonitorsResourceWithRawResponse:
626-
"""
627-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
628-
"""
610+
"""Watch websites for exact or meaningful changes."""
629611
from .resources.monitors import MonitorsResourceWithRawResponse
630612

631613
return MonitorsResourceWithRawResponse(self._client.monitors)
@@ -651,27 +633,21 @@ def people(self) -> people.PeopleResourceWithRawResponse:
651633

652634
@cached_property
653635
def news(self) -> news.NewsResourceWithRawResponse:
654-
"""Search live first-party RSS and free historical news data by company identity."""
636+
"""Search live and historical news about a company."""
655637
from .resources.news import NewsResourceWithRawResponse
656638

657639
return NewsResourceWithRawResponse(self._client.news)
658640

659641
@cached_property
660642
def logs(self) -> logs.LogsResourceWithRawResponse:
661-
"""Read your organization's API request logs to debug failed calls.
662-
663-
These endpoints cost no credits and use a separate rate limit.
664-
"""
643+
"""Read your organization's API request logs."""
665644
from .resources.logs import LogsResourceWithRawResponse
666645

667646
return LogsResourceWithRawResponse(self._client.logs)
668647

669648
@cached_property
670649
def feedback(self) -> feedback.FeedbackResourceWithRawResponse:
671-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
672-
673-
Submissions cost no credits and use a separate rate limit.
674-
"""
650+
"""Report API issues and documentation mismatches."""
675651
from .resources.feedback import FeedbackResourceWithRawResponse
676652

677653
return FeedbackResourceWithRawResponse(self._client.feedback)
@@ -715,9 +691,7 @@ def utility(self) -> utility.AsyncUtilityResourceWithRawResponse:
715691

716692
@cached_property
717693
def monitors(self) -> monitors.AsyncMonitorsResourceWithRawResponse:
718-
"""
719-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
720-
"""
694+
"""Watch websites for exact or meaningful changes."""
721695
from .resources.monitors import AsyncMonitorsResourceWithRawResponse
722696

723697
return AsyncMonitorsResourceWithRawResponse(self._client.monitors)
@@ -743,27 +717,21 @@ def people(self) -> people.AsyncPeopleResourceWithRawResponse:
743717

744718
@cached_property
745719
def news(self) -> news.AsyncNewsResourceWithRawResponse:
746-
"""Search live first-party RSS and free historical news data by company identity."""
720+
"""Search live and historical news about a company."""
747721
from .resources.news import AsyncNewsResourceWithRawResponse
748722

749723
return AsyncNewsResourceWithRawResponse(self._client.news)
750724

751725
@cached_property
752726
def logs(self) -> logs.AsyncLogsResourceWithRawResponse:
753-
"""Read your organization's API request logs to debug failed calls.
754-
755-
These endpoints cost no credits and use a separate rate limit.
756-
"""
727+
"""Read your organization's API request logs."""
757728
from .resources.logs import AsyncLogsResourceWithRawResponse
758729

759730
return AsyncLogsResourceWithRawResponse(self._client.logs)
760731

761732
@cached_property
762733
def feedback(self) -> feedback.AsyncFeedbackResourceWithRawResponse:
763-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
764-
765-
Submissions cost no credits and use a separate rate limit.
766-
"""
734+
"""Report API issues and documentation mismatches."""
767735
from .resources.feedback import AsyncFeedbackResourceWithRawResponse
768736

769737
return AsyncFeedbackResourceWithRawResponse(self._client.feedback)
@@ -807,9 +775,7 @@ def utility(self) -> utility.UtilityResourceWithStreamingResponse:
807775

808776
@cached_property
809777
def monitors(self) -> monitors.MonitorsResourceWithStreamingResponse:
810-
"""
811-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
812-
"""
778+
"""Watch websites for exact or meaningful changes."""
813779
from .resources.monitors import MonitorsResourceWithStreamingResponse
814780

815781
return MonitorsResourceWithStreamingResponse(self._client.monitors)
@@ -835,27 +801,21 @@ def people(self) -> people.PeopleResourceWithStreamingResponse:
835801

836802
@cached_property
837803
def news(self) -> news.NewsResourceWithStreamingResponse:
838-
"""Search live first-party RSS and free historical news data by company identity."""
804+
"""Search live and historical news about a company."""
839805
from .resources.news import NewsResourceWithStreamingResponse
840806

841807
return NewsResourceWithStreamingResponse(self._client.news)
842808

843809
@cached_property
844810
def logs(self) -> logs.LogsResourceWithStreamingResponse:
845-
"""Read your organization's API request logs to debug failed calls.
846-
847-
These endpoints cost no credits and use a separate rate limit.
848-
"""
811+
"""Read your organization's API request logs."""
849812
from .resources.logs import LogsResourceWithStreamingResponse
850813

851814
return LogsResourceWithStreamingResponse(self._client.logs)
852815

853816
@cached_property
854817
def feedback(self) -> feedback.FeedbackResourceWithStreamingResponse:
855-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
856-
857-
Submissions cost no credits and use a separate rate limit.
858-
"""
818+
"""Report API issues and documentation mismatches."""
859819
from .resources.feedback import FeedbackResourceWithStreamingResponse
860820

861821
return FeedbackResourceWithStreamingResponse(self._client.feedback)
@@ -899,9 +859,7 @@ def utility(self) -> utility.AsyncUtilityResourceWithStreamingResponse:
899859

900860
@cached_property
901861
def monitors(self) -> monitors.AsyncMonitorsResourceWithStreamingResponse:
902-
"""
903-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
904-
"""
862+
"""Watch websites for exact or meaningful changes."""
905863
from .resources.monitors import AsyncMonitorsResourceWithStreamingResponse
906864

907865
return AsyncMonitorsResourceWithStreamingResponse(self._client.monitors)
@@ -927,27 +885,21 @@ def people(self) -> people.AsyncPeopleResourceWithStreamingResponse:
927885

928886
@cached_property
929887
def news(self) -> news.AsyncNewsResourceWithStreamingResponse:
930-
"""Search live first-party RSS and free historical news data by company identity."""
888+
"""Search live and historical news about a company."""
931889
from .resources.news import AsyncNewsResourceWithStreamingResponse
932890

933891
return AsyncNewsResourceWithStreamingResponse(self._client.news)
934892

935893
@cached_property
936894
def logs(self) -> logs.AsyncLogsResourceWithStreamingResponse:
937-
"""Read your organization's API request logs to debug failed calls.
938-
939-
These endpoints cost no credits and use a separate rate limit.
940-
"""
895+
"""Read your organization's API request logs."""
941896
from .resources.logs import AsyncLogsResourceWithStreamingResponse
942897

943898
return AsyncLogsResourceWithStreamingResponse(self._client.logs)
944899

945900
@cached_property
946901
def feedback(self) -> feedback.AsyncFeedbackResourceWithStreamingResponse:
947-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
948-
949-
Submissions cost no credits and use a separate rate limit.
950-
"""
902+
"""Report API issues and documentation mismatches."""
951903
from .resources.feedback import AsyncFeedbackResourceWithStreamingResponse
952904

953905
return AsyncFeedbackResourceWithStreamingResponse(self._client.feedback)

0 commit comments

Comments
 (0)