openapi: 3.2.0 info: description: '# Authentication The Chef Automate API typically uses an API token passed in the header of your API request.' title: Chef Automate API Documentation Applications Service API termsOfService: https://www.chef.io/terms-and-conditions-of-use/ contact: url: https://www.chef.io/support/ email: support@chef.io license: name: Apache 2.0 url: https://github.com/chef/automate/blob/main/LICENSE version: version not set x-logo: altText: Chef logo url: /images/chef-automate-logo.svg servers: - url: https://automate.chef.io tags: - name: ApplicationsService x-displayName: Applications Telemetry paths: /api/v0/applications/telemetry/services/count: get: tags: - ApplicationsService operationId: ApplicationsService_GetServicesUsageCount responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/chef.automate.api.applications.GetServicesUsageCountResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/grpc.gateway.runtime.Error' summary: Applications service get services usage count x-summary-source: derived /api/v0/applications/telemetry/services/count/updated: put: tags: - ApplicationsService operationId: ApplicationsService_UpdateTelemetryReported responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/chef.automate.api.applications.UpdateTelemetryReportedResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/grpc.gateway.runtime.Error' requestBody: content: application/json: schema: $ref: '#/components/schemas/chef.automate.api.applications.UpdateTelemetryReportedRequest' required: true summary: Applications service update telemetry reported x-summary-source: derived components: schemas: grpc.gateway.runtime.Error: type: object properties: code: type: integer format: int32 details: type: array items: $ref: '#/components/schemas/google.protobuf.Any' error: type: string message: type: string google.protobuf.Any: type: object properties: type_url: type: string value: type: string format: byte chef.automate.api.applications.UpdateTelemetryReportedResponse: type: object chef.automate.api.applications.GetServicesUsageCountResponse: type: object properties: days_since_last_post: type: string format: int64 title: number of days since telematics was last posted total_services: type: string format: int64 title: unique services count in a duration chef.automate.api.applications.UpdateTelemetryReportedRequest: type: object title: Telemetry properties: last_telemetry_reported_at: type: string title: last application service telemetry reported date securitySchemes: APIToken: description: Authenticate with the Automate API using an API Token. type: apiKey name: api-token in: header x-tagGroups: - name: Compliance tags: - ReportingService - StatsService - JobsService - ProfilesService - Comp_Assets - name: Report Manager tags: - ReportManagerService - name: Infra tags: - ConfigMgmt - InfraProxy - name: Ingest tags: - ChefIngester - JobScheduler - name: Node Management tags: - NodeManagerService - NodesService - name: Event Feed tags: - EventFeedService - name: Secrets tags: - SecretsService - name: Applications tags: - service_groups - retention - ApplicationsService - name: Data Feed tags: - DatafeedService - name: Data Lifecycle tags: - DataLifecycle - name: Notifications tags: - Notifications - name: Content Delivery tags: - Cds - name: Audit and Settings tags: - UserSettingsService - name: System tags: - Gateway - Deployment - License - Telemetry - LegacyDataCollector - name: Identity tags: - users - teams - tokens - name: Access Management tags: - policies - roles - projects - rules - Authorization