OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/youtube": { | 5 "https://www.googleapis.com/auth/youtube": { |
6 "description": "Manage your YouTube account" | 6 "description": "Manage your YouTube account" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/youtube.force-ssl": { | 8 "https://www.googleapis.com/auth/youtube.force-ssl": { |
9 "description": "Manage your YouTube account" | 9 "description": "Manage your YouTube account" |
10 }, | 10 }, |
(...skipping 12 matching lines...) Expand all Loading... |
23 } | 23 } |
24 } | 24 } |
25 }, | 25 }, |
26 "basePath": "/youtube/v3/", | 26 "basePath": "/youtube/v3/", |
27 "baseUrl": "https://www.googleapis.com/youtube/v3/", | 27 "baseUrl": "https://www.googleapis.com/youtube/v3/", |
28 "batchPath": "batch", | 28 "batchPath": "batch", |
29 "canonicalName": "YouTube", | 29 "canonicalName": "YouTube", |
30 "description": "Supports core YouTube features, such as uploading videos, cr
eating and managing playlists, searching for content, and much more.", | 30 "description": "Supports core YouTube features, such as uploading videos, cr
eating and managing playlists, searching for content, and much more.", |
31 "discoveryVersion": "v1", | 31 "discoveryVersion": "v1", |
32 "documentationLink": "https://developers.google.com/youtube/v3", | 32 "documentationLink": "https://developers.google.com/youtube/v3", |
33 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/J2rsaoo4Ek_Q24c6MaTuljKwUGg\"", | 33 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/2AD7X-jkZPTxhGBzG8Ap8gvej2E\"", |
34 "icons": { | 34 "icons": { |
35 "x16": "https://www.google.com/images/icons/product/youtube-16.png", | 35 "x16": "https://www.google.com/images/icons/product/youtube-16.png", |
36 "x32": "https://www.google.com/images/icons/product/youtube-32.png" | 36 "x32": "https://www.google.com/images/icons/product/youtube-32.png" |
37 }, | 37 }, |
38 "id": "youtube:v3", | 38 "id": "youtube:v3", |
39 "kind": "discovery#restDescription", | 39 "kind": "discovery#restDescription", |
40 "name": "youtube", | 40 "name": "youtube", |
41 "ownerDomain": "google.com", | 41 "ownerDomain": "google.com", |
42 "ownerName": "Google", | 42 "ownerName": "Google", |
43 "parameters": { | 43 "parameters": { |
(...skipping 2811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2855 "location": "query", | 2855 "location": "query", |
2856 "maximum": "50", | 2856 "maximum": "50", |
2857 "minimum": "0", | 2857 "minimum": "0", |
2858 "type": "integer" | 2858 "type": "integer" |
2859 }, | 2859 }, |
2860 "mine": { | 2860 "mine": { |
2861 "description": "Set this parameter's value to true t
o retrieve a feed of the authenticated user's subscriptions.", | 2861 "description": "Set this parameter's value to true t
o retrieve a feed of the authenticated user's subscriptions.", |
2862 "location": "query", | 2862 "location": "query", |
2863 "type": "boolean" | 2863 "type": "boolean" |
2864 }, | 2864 }, |
| 2865 "myRecentSubscribers": { |
| 2866 "description": "Set this parameter's value to true t
o retrieve a feed of the subscribers of the authenticated user in reverse chrono
logical order (newest first).", |
| 2867 "location": "query", |
| 2868 "type": "boolean" |
| 2869 }, |
2865 "mySubscribers": { | 2870 "mySubscribers": { |
2866 "description": "Set this parameter's value to true t
o retrieve a feed of the subscribers of the authenticated user.", | 2871 "description": "Set this parameter's value to true t
o retrieve a feed of the subscribers of the authenticated user in no particular
order.", |
2867 "location": "query", | 2872 "location": "query", |
2868 "type": "boolean" | 2873 "type": "boolean" |
2869 }, | 2874 }, |
2870 "onBehalfOfContentOwner": { | 2875 "onBehalfOfContentOwner": { |
2871 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r who is acting on behalf of the content owner specified in the parameter value.
This parameter is intended for YouTube content partners that own and manage man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", | 2876 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r who is acting on behalf of the content owner specified in the parameter value.
This parameter is intended for YouTube content partners that own and manage man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", |
2872 "location": "query", | 2877 "location": "query", |
2873 "type": "string" | 2878 "type": "string" |
2874 }, | 2879 }, |
2875 "onBehalfOfContentOwnerChannel": { | 2880 "onBehalfOfContentOwnerChannel": { |
2876 "description": "This parameter can only be used in a
properly authorized request. Note: This parameter is intended exclusively for Y
ouTube content partners.\n\nThe onBehalfOfContentOwnerChannel parameter specifie
s the YouTube channel ID of the channel to which a video is being added. This pa
rameter is required when a request specifies a value for the onBehalfOfContentOw
ner parameter, and it can only be used in conjunction with that parameter. In ad
dition, the request must be authorized using a CMS account that is linked to the
content owner that the onBehalfOfContentOwner parameter specifies. Finally, the
channel that the onBehalfOfContentOwnerChannel parameter value specifies must b
e linked to the content owner that the onBehalfOfContentOwner parameter specifie
s.\n\nThis parameter is intended for YouTube content partners that own and manag
e many different YouTube channels. It allows content owners to authenticate once
and perform actions on behalf of the channel specified in the parameter value,
without having to provide authentication credentials for each separate channel."
, | 2881 "description": "This parameter can only be used in a
properly authorized request. Note: This parameter is intended exclusively for Y
ouTube content partners.\n\nThe onBehalfOfContentOwnerChannel parameter specifie
s the YouTube channel ID of the channel to which a video is being added. This pa
rameter is required when a request specifies a value for the onBehalfOfContentOw
ner parameter, and it can only be used in conjunction with that parameter. In ad
dition, the request must be authorized using a CMS account that is linked to the
content owner that the onBehalfOfContentOwner parameter specifies. Finally, the
channel that the onBehalfOfContentOwnerChannel parameter value specifies must b
e linked to the content owner that the onBehalfOfContentOwner parameter specifie
s.\n\nThis parameter is intended for YouTube content partners that own and manag
e many different YouTube channels. It allows content owners to authenticate once
and perform actions on behalf of the channel specified in the parameter value,
without having to provide authentication credentials for each separate channel."
, |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3450 "path": "watermarks/unset", | 3455 "path": "watermarks/unset", |
3451 "scopes": [ | 3456 "scopes": [ |
3452 "https://www.googleapis.com/auth/youtube", | 3457 "https://www.googleapis.com/auth/youtube", |
3453 "https://www.googleapis.com/auth/youtube.force-ssl", | 3458 "https://www.googleapis.com/auth/youtube.force-ssl", |
3454 "https://www.googleapis.com/auth/youtubepartner" | 3459 "https://www.googleapis.com/auth/youtubepartner" |
3455 ] | 3460 ] |
3456 } | 3461 } |
3457 } | 3462 } |
3458 } | 3463 } |
3459 }, | 3464 }, |
3460 "revision": "20160509", | 3465 "revision": "20160526", |
3461 "rootUrl": "https://www.googleapis.com/", | 3466 "rootUrl": "https://www.googleapis.com/", |
3462 "schemas": { | 3467 "schemas": { |
3463 "AccessPolicy": { | 3468 "AccessPolicy": { |
3464 "description": "Rights management policy for YouTube resources.", | 3469 "description": "Rights management policy for YouTube resources.", |
3465 "id": "AccessPolicy", | 3470 "id": "AccessPolicy", |
3466 "properties": { | 3471 "properties": { |
3467 "allowed": { | 3472 "allowed": { |
3468 "description": "The value of allowed indicates whether the a
ccess to the policy is allowed or denied by default.", | 3473 "description": "The value of allowed indicates whether the a
ccess to the policy is allowed or denied by default.", |
3469 "type": "boolean" | 3474 "type": "boolean" |
3470 }, | 3475 }, |
(...skipping 4315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7786 }, | 7791 }, |
7787 "liveChatId": { | 7792 "liveChatId": { |
7788 "type": "string" | 7793 "type": "string" |
7789 }, | 7794 }, |
7790 "messageDeletedDetails": { | 7795 "messageDeletedDetails": { |
7791 "$ref": "LiveChatMessageDeletedDetails" | 7796 "$ref": "LiveChatMessageDeletedDetails" |
7792 }, | 7797 }, |
7793 "messageRetractedDetails": { | 7798 "messageRetractedDetails": { |
7794 "$ref": "LiveChatMessageRetractedDetails" | 7799 "$ref": "LiveChatMessageRetractedDetails" |
7795 }, | 7800 }, |
| 7801 "pollClosedDetails": { |
| 7802 "$ref": "LiveChatPollClosedDetails" |
| 7803 }, |
| 7804 "pollEditedDetails": { |
| 7805 "$ref": "LiveChatPollEditedDetails" |
| 7806 }, |
| 7807 "pollOpenedDetails": { |
| 7808 "$ref": "LiveChatPollOpenedDetails" |
| 7809 }, |
| 7810 "pollVotedDetails": { |
| 7811 "$ref": "LiveChatPollVotedDetails" |
| 7812 }, |
7796 "publishedAt": { | 7813 "publishedAt": { |
7797 "description": "The date and time when the message was orign
ally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) form
at.", | 7814 "description": "The date and time when the message was orign
ally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) form
at.", |
7798 "format": "date-time", | 7815 "format": "date-time", |
7799 "type": "string" | 7816 "type": "string" |
7800 }, | 7817 }, |
7801 "textMessageDetails": { | 7818 "textMessageDetails": { |
7802 "$ref": "LiveChatTextMessageDetails", | 7819 "$ref": "LiveChatTextMessageDetails", |
7803 "description": "Details about the text message, this is only
set if the type is 'textMessageEvent'." | 7820 "description": "Details about the text message, this is only
set if the type is 'textMessageEvent'." |
7804 }, | 7821 }, |
7805 "type": { | 7822 "type": { |
7806 "description": "The type of message, this will always be pre
sent, it determines the contents of the message as well as which fields will be
present.", | 7823 "description": "The type of message, this will always be pre
sent, it determines the contents of the message as well as which fields will be
present.", |
7807 "enum": [ | 7824 "enum": [ |
7808 "chatEndedEvent", | 7825 "chatEndedEvent", |
7809 "fanFundingEvent", | 7826 "fanFundingEvent", |
7810 "messageDeletedEvent", | 7827 "messageDeletedEvent", |
7811 "messageRetractedEvent", | 7828 "messageRetractedEvent", |
7812 "newSponsorEvent", | 7829 "newSponsorEvent", |
| 7830 "pollClosedEvent", |
| 7831 "pollEditedEvent", |
| 7832 "pollOpenedEvent", |
| 7833 "pollVotedEvent", |
7813 "sponsorOnlyModeEndedEvent", | 7834 "sponsorOnlyModeEndedEvent", |
7814 "sponsorOnlyModeStartedEvent", | 7835 "sponsorOnlyModeStartedEvent", |
7815 "textMessageEvent", | 7836 "textMessageEvent", |
7816 "tombstone", | 7837 "tombstone", |
7817 "userBannedEvent" | 7838 "userBannedEvent" |
7818 ], | 7839 ], |
7819 "enumDescriptions": [ | 7840 "enumDescriptions": [ |
7820 "", | 7841 "", |
7821 "", | 7842 "", |
7822 "", | 7843 "", |
7823 "", | 7844 "", |
7824 "", | 7845 "", |
7825 "", | 7846 "", |
7826 "", | 7847 "", |
7827 "", | 7848 "", |
7828 "", | 7849 "", |
| 7850 "", |
| 7851 "", |
| 7852 "", |
| 7853 "", |
7829 "" | 7854 "" |
7830 ], | 7855 ], |
7831 "type": "string" | 7856 "type": "string" |
7832 }, | 7857 }, |
7833 "userBannedDetails": { | 7858 "userBannedDetails": { |
7834 "$ref": "LiveChatUserBannedMessageDetails" | 7859 "$ref": "LiveChatUserBannedMessageDetails" |
7835 } | 7860 } |
7836 }, | 7861 }, |
7837 "type": "object" | 7862 "type": "object" |
7838 }, | 7863 }, |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7911 "description": "The ID of the live chat this moderator can a
ct on.", | 7936 "description": "The ID of the live chat this moderator can a
ct on.", |
7912 "type": "string" | 7937 "type": "string" |
7913 }, | 7938 }, |
7914 "moderatorDetails": { | 7939 "moderatorDetails": { |
7915 "$ref": "ChannelProfileDetails", | 7940 "$ref": "ChannelProfileDetails", |
7916 "description": "Details about the moderator." | 7941 "description": "Details about the moderator." |
7917 } | 7942 } |
7918 }, | 7943 }, |
7919 "type": "object" | 7944 "type": "object" |
7920 }, | 7945 }, |
| 7946 "LiveChatPollClosedDetails": { |
| 7947 "id": "LiveChatPollClosedDetails", |
| 7948 "properties": { |
| 7949 "pollId": { |
| 7950 "description": "The id of the poll that was closed.", |
| 7951 "type": "string" |
| 7952 } |
| 7953 }, |
| 7954 "type": "object" |
| 7955 }, |
| 7956 "LiveChatPollEditedDetails": { |
| 7957 "id": "LiveChatPollEditedDetails", |
| 7958 "properties": { |
| 7959 "id": { |
| 7960 "type": "string" |
| 7961 }, |
| 7962 "items": { |
| 7963 "items": { |
| 7964 "$ref": "LiveChatPollItem" |
| 7965 }, |
| 7966 "type": "array" |
| 7967 }, |
| 7968 "prompt": { |
| 7969 "type": "string" |
| 7970 } |
| 7971 }, |
| 7972 "type": "object" |
| 7973 }, |
| 7974 "LiveChatPollItem": { |
| 7975 "id": "LiveChatPollItem", |
| 7976 "properties": { |
| 7977 "description": { |
| 7978 "description": "Plain text description of the item.", |
| 7979 "type": "string" |
| 7980 }, |
| 7981 "itemId": { |
| 7982 "type": "string" |
| 7983 } |
| 7984 }, |
| 7985 "type": "object" |
| 7986 }, |
| 7987 "LiveChatPollOpenedDetails": { |
| 7988 "id": "LiveChatPollOpenedDetails", |
| 7989 "properties": { |
| 7990 "id": { |
| 7991 "type": "string" |
| 7992 }, |
| 7993 "items": { |
| 7994 "items": { |
| 7995 "$ref": "LiveChatPollItem" |
| 7996 }, |
| 7997 "type": "array" |
| 7998 }, |
| 7999 "prompt": { |
| 8000 "type": "string" |
| 8001 } |
| 8002 }, |
| 8003 "type": "object" |
| 8004 }, |
| 8005 "LiveChatPollVotedDetails": { |
| 8006 "id": "LiveChatPollVotedDetails", |
| 8007 "properties": { |
| 8008 "itemId": { |
| 8009 "description": "The poll item the user chose.", |
| 8010 "type": "string" |
| 8011 }, |
| 8012 "pollId": { |
| 8013 "description": "The poll the user voted on.", |
| 8014 "type": "string" |
| 8015 } |
| 8016 }, |
| 8017 "type": "object" |
| 8018 }, |
7921 "LiveChatTextMessageDetails": { | 8019 "LiveChatTextMessageDetails": { |
7922 "id": "LiveChatTextMessageDetails", | 8020 "id": "LiveChatTextMessageDetails", |
7923 "properties": { | 8021 "properties": { |
7924 "messageText": { | 8022 "messageText": { |
7925 "description": "The user's message.", | 8023 "description": "The user's message.", |
7926 "type": "string" | 8024 "type": "string" |
7927 } | 8025 } |
7928 }, | 8026 }, |
7929 "type": "object" | 8027 "type": "object" |
7930 }, | 8028 }, |
(...skipping 2537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10468 "type": "string" | 10566 "type": "string" |
10469 } | 10567 } |
10470 }, | 10568 }, |
10471 "type": "object" | 10569 "type": "object" |
10472 } | 10570 } |
10473 }, | 10571 }, |
10474 "servicePath": "youtube/v3/", | 10572 "servicePath": "youtube/v3/", |
10475 "title": "YouTube Data API", | 10573 "title": "YouTube Data API", |
10476 "version": "v3" | 10574 "version": "v3" |
10477 } | 10575 } |
OLD | NEW |