{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:google-youtube-analytics/youtube-analytics-group-items-list":{"get":{"operationId":"dev_tools_google_youtube_analytics_youtube_analytics_group_items_list","summary":"Returns a collection of group items that match the API request parameters.","description":"GET /v2/groupItems","tags":["dev-tools"],"parameters":[{"name":"groupId","in":"query","required":false,"description":"The `groupId` parameter specifies the unique ID of the group for which you want to retrieve group items.","schema":{"type":"string","description":"The `groupId` parameter specifies the unique ID of the group for which you want to retrieve group items."}},{"name":"onBehalfOfContentOwner","in":"query","required":false,"description":"This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content…","schema":{"type":"string","description":"This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-youtube-analytics/youtube-analytics-group-items-insert":{"post":{"operationId":"dev_tools_google_youtube_analytics_youtube_analytics_group_items_insert","summary":"Creates a group item.","description":"POST /v2/groupItems","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"onBehalfOfContentOwner":{"type":"string","description":"This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-youtube-analytics/youtube-analytics-group-items-delete":{"post":{"operationId":"dev_tools_google_youtube_analytics_youtube_analytics_group_items_delete","summary":"Removes an item from a group.","description":"DELETE /v2/groupItems","tags":["dev-tools"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"id":{"type":"string","description":"The `id` parameter specifies the YouTube group item ID of the group item that is being deleted."},"onBehalfOfContentOwner":{"type":"string","description":"This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-youtube-analytics/youtube-analytics-groups-list":{"get":{"operationId":"dev_tools_google_youtube_analytics_youtube_analytics_groups_list","summary":"Returns a collection of groups that match the API request parameters. For example, you can retrieve all…","description":"GET /v2/groups","tags":["dev-tools"],"parameters":[{"name":"id","in":"query","required":false,"description":"The `id` parameter specifies a comma-separated list of the YouTube group ID(s) for the resource(s) that are being retrieved. Each group…","schema":{"type":"string","description":"The `id` parameter specifies a comma-separated list of the YouTube group ID(s) for the resource(s) that are being retrieved. Each group…"}},{"name":"mine","in":"query","required":false,"description":"This parameter can only be used in a properly authorized request. Set this parameter's value to true to retrieve all groups owned by the…","schema":{"type":"boolean","description":"This parameter can only be used in a properly authorized request. Set this parameter's value to true to retrieve all groups owned by the…"}},{"name":"onBehalfOfContentOwner","in":"query","required":false,"description":"This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content…","schema":{"type":"string","description":"This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content…"}},{"name":"pageToken","in":"query","required":false,"description":"The `pageToken` parameter identifies a specific page in the result set that should be returned. In an API response, the `nextPageToken`…","schema":{"type":"string","description":"The `pageToken` parameter identifies a specific page in the result set that should be returned. In an API response, the `nextPageToken`…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-youtube-analytics/youtube-analytics-groups-insert":{"post":{"operationId":"dev_tools_google_youtube_analytics_youtube_analytics_groups_insert","summary":"Creates a group.","description":"POST /v2/groups","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"onBehalfOfContentOwner":{"type":"string","description":"This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-youtube-analytics/youtube-analytics-groups-update":{"post":{"operationId":"dev_tools_google_youtube_analytics_youtube_analytics_groups_update","summary":"Modifies a group. For example, you could change a group's title.","description":"PUT /v2/groups","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"onBehalfOfContentOwner":{"type":"string","description":"This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-youtube-analytics/youtube-analytics-groups-delete":{"post":{"operationId":"dev_tools_google_youtube_analytics_youtube_analytics_groups_delete","summary":"Deletes a group.","description":"DELETE /v2/groups","tags":["dev-tools"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"id":{"type":"string","description":"The `id` parameter specifies the YouTube group ID of the group that is being deleted."},"onBehalfOfContentOwner":{"type":"string","description":"This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-youtube-analytics/youtube-analytics-reports-query":{"get":{"operationId":"dev_tools_google_youtube_analytics_youtube_analytics_reports_query","summary":"Retrieve your YouTube Analytics reports.","description":"GET /v2/reports","tags":["dev-tools"],"parameters":[{"name":"currency","in":"query","required":false,"description":"The currency to which financial metrics should be converted. The default is US Dollar (USD). If the result contains no financial metrics,…","schema":{"type":"string","description":"The currency to which financial metrics should be converted. The default is US Dollar (USD). If the result contains no financial metrics,…"}},{"name":"dimensions","in":"query","required":false,"description":"A comma-separated list of YouTube Analytics dimensions, such as `views` or `ageGroup,gender`. See the [Available…","schema":{"type":"string","description":"A comma-separated list of YouTube Analytics dimensions, such as `views` or `ageGroup,gender`. See the [Available…"}},{"name":"endDate","in":"query","required":false,"description":"The end date for fetching YouTube Analytics data. The value should be in `YYYY-MM-DD` format. required: true, pattern:…","schema":{"type":"string","description":"The end date for fetching YouTube Analytics data. The value should be in `YYYY-MM-DD` format. required: true, pattern:…"}},{"name":"filters","in":"query","required":false,"description":"A list of filters that should be applied when retrieving YouTube Analytics data. The [Available…","schema":{"type":"string","description":"A list of filters that should be applied when retrieving YouTube Analytics data. The [Available…"}},{"name":"ids","in":"query","required":false,"description":"Identifies the YouTube channel or content owner for which you are retrieving YouTube Analytics data. - To request data for a YouTube user,…","schema":{"type":"string","description":"Identifies the YouTube channel or content owner for which you are retrieving YouTube Analytics data. - To request data for a YouTube user,…"}},{"name":"includeHistoricalChannelData","in":"query","required":false,"description":"If set to true historical data (i.e. channel data from before the linking of the channel to the content owner) will be retrieved.\",","schema":{"type":"boolean","description":"If set to true historical data (i.e. channel data from before the linking of the channel to the content owner) will be retrieved.\","}},{"name":"maxResults","in":"query","required":false,"description":"The maximum number of rows to include in the response.\", minValue: 1","schema":{"type":"integer","description":"The maximum number of rows to include in the response.\", minValue: 1"}},{"name":"metrics","in":"query","required":false,"description":"A comma-separated list of YouTube Analytics metrics, such as `views` or `likes,dislikes`. See the [Available…","schema":{"type":"string","description":"A comma-separated list of YouTube Analytics metrics, such as `views` or `likes,dislikes`. See the [Available…"}},{"name":"sort","in":"query","required":false,"description":"A comma-separated list of dimensions or metrics that determine the sort order for YouTube Analytics data. By default the sort order is…","schema":{"type":"string","description":"A comma-separated list of dimensions or metrics that determine the sort order for YouTube Analytics data. By default the sort order is…"}},{"name":"startDate","in":"query","required":false,"description":"The start date for fetching YouTube Analytics data. The value should be in `YYYY-MM-DD` format. required: true, pattern:…","schema":{"type":"string","description":"The start date for fetching YouTube Analytics data. The value should be in `YYYY-MM-DD` format. required: true, pattern:…"}},{"name":"startIndex","in":"query","required":false,"description":"An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter (one-based,…","schema":{"type":"integer","description":"An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter (one-based,…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}