| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.apps.html">apps</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#close">close()</a></code></p> |
| 79 |
<p class="firstline">Close httplib2 connections.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Gets the app profile for the specified app ID.</p> |
| 83 |
<p class="toc_element"> |
| 84 |
<code><a href="#list">list(parent, apiProduct=None, apptype=None, expand=None, filter=None, ids=None, includeCred=None, keyStatus=None, pageSize=None, pageToken=None, rows=None, startKey=None, status=None, x__xgafv=None)</a></code></p> |
| 85 |
<p class="firstline">Lists IDs of apps within an organization that have the specified app status (approved or revoked) or are of the specified app type (developer or company).</p> |
| 86 |
<p class="toc_element"> |
| 87 |
<code><a href="#list_next">list_next()</a></code></p> |
| 88 |
<p class="firstline">Retrieves the next page of results.</p> |
| 89 |
<h3>Method Details</h3> |
| 90 |
<div class="method"> |
| 91 |
<code class="details" id="close">close()</code> |
| 92 |
<pre>Close httplib2 connections.</pre> |
| 93 |
</div> |
| 94 |
|
| 95 |
<div class="method"> |
| 96 |
<code class="details" id="get">get(name, x__xgafv=None)</code> |
| 97 |
<pre>Gets the app profile for the specified app ID. |
| 98 |
|
| 99 |
Args: |
| 100 |
name: string, Required. App ID in the following format: `organizations/{org}/apps/{app}` (required) |
| 101 |
x__xgafv: string, V1 error format. |
| 102 |
Allowed values |
| 103 |
1 - v1 error format |
| 104 |
2 - v2 error format |
| 105 |
|
| 106 |
Returns: |
| 107 |
An object of the form: |
| 108 |
|
| 109 |
{ |
| 110 |
"apiProducts": [ # List of API products associated with the app. |
| 111 |
{ |
| 112 |
"apiproduct": "A String", # Name of the API product. |
| 113 |
"status": "A String", # Status of the API product. Valid values are `approved` or `revoked`. |
| 114 |
}, |
| 115 |
], |
| 116 |
"appGroup": "A String", # Name of the AppGroup |
| 117 |
"appId": "A String", # ID of the app. |
| 118 |
"attributes": [ # List of attributes. |
| 119 |
{ # Key-value pair to store extra metadata. |
| 120 |
"name": "A String", # API key of the attribute. |
| 121 |
"value": "A String", # Value of the attribute. |
| 122 |
}, |
| 123 |
], |
| 124 |
"callbackUrl": "A String", # Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to apps. |
| 125 |
"companyName": "A String", # Name of the company that owns the app. |
| 126 |
"createdAt": "A String", # Output only. Unix time when the app was created. |
| 127 |
"credentials": [ # Output only. Set of credentials for the app. Credentials are API key/secret pairs associated with API products. |
| 128 |
{ |
| 129 |
"apiProducts": [ # List of API products this credential can be used for. |
| 130 |
{ |
| 131 |
"apiproduct": "A String", # Name of the API product. |
| 132 |
"status": "A String", # Status of the API product. Valid values are `approved` or `revoked`. |
| 133 |
}, |
| 134 |
], |
| 135 |
"attributes": [ # List of attributes associated with this credential. |
| 136 |
{ # Key-value pair to store extra metadata. |
| 137 |
"name": "A String", # API key of the attribute. |
| 138 |
"value": "A String", # Value of the attribute. |
| 139 |
}, |
| 140 |
], |
| 141 |
"consumerKey": "A String", # Consumer key. |
| 142 |
"consumerSecret": "A String", # Secret key. |
| 143 |
"expiresAt": "A String", # Time the credential will expire in milliseconds since epoch. |
| 144 |
"issuedAt": "A String", # Time the credential was issued in milliseconds since epoch. |
| 145 |
"scopes": [ # List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app. |
| 146 |
"A String", |
| 147 |
], |
| 148 |
"status": "A String", # Status of the credential. Valid values include `approved` or `revoked`. |
| 149 |
}, |
| 150 |
], |
| 151 |
"developerEmail": "A String", # Email of the developer. |
| 152 |
"developerId": "A String", # ID of the developer. |
| 153 |
"keyExpiresIn": "A String", # Duration, in milliseconds, of the consumer key that will be generated for the app. The default value, -1, indicates an infinite validity period. Once set, the expiration can't be updated. json key: keyExpiresIn |
| 154 |
"lastModifiedAt": "A String", # Output only. Last modified time as milliseconds since epoch. |
| 155 |
"name": "A String", # Name of the app. |
| 156 |
"scopes": [ # Scopes to apply to the app. The specified scope names must already exist on the API product that you associate with the app. |
| 157 |
"A String", |
| 158 |
], |
| 159 |
"status": "A String", # Status of the credential. |
| 160 |
}</pre> |
| 161 |
</div> |
| 162 |
|
| 163 |
<div class="method"> |
| 164 |
<code class="details" id="list">list(parent, apiProduct=None, apptype=None, expand=None, filter=None, ids=None, includeCred=None, keyStatus=None, pageSize=None, pageToken=None, rows=None, startKey=None, status=None, x__xgafv=None)</code> |
| 165 |
<pre>Lists IDs of apps within an organization that have the specified app status (approved or revoked) or are of the specified app type (developer or company). |
| 166 |
|
| 167 |
Args: |
| 168 |
parent: string, Required. Resource path of the parent in the following format: `organizations/{org}` (required) |
| 169 |
apiProduct: string, API product. |
| 170 |
apptype: string, Optional. 'apptype' is no longer available. Use a 'filter' instead. |
| 171 |
expand: boolean, Optional. Flag that specifies whether to return an expanded list of apps for the organization. Defaults to `false`. |
| 172 |
filter: string, Optional. The filter expression to be used to get the list of apps, where filtering can be done on developerEmail, apiProduct, consumerKey, status, appId, appName, appType and appGroup. Examples: "[email protected]", "appType=AppGroup", or "appType=Developer" "filter" is supported from ver 1.10.0 and above. |
| 173 |
ids: string, Optional. Comma-separated list of app IDs on which to filter. |
| 174 |
includeCred: boolean, Optional. Flag that specifies whether to include credentials in the response. |
| 175 |
keyStatus: string, Optional. Key status of the app. Valid values include `approved` or `revoked`. Defaults to `approved`. |
| 176 |
pageSize: integer, Optional. Count of apps a single page can have in the response. If unspecified, at most 1000 apps will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. "page_size" is supported from ver 1.10.0 and above. |
| 177 |
pageToken: string, Optional. The starting index record for listing the developers. "page_token" is supported from ver 1.10.0 and above. |
| 178 |
rows: string, Optional. Maximum number of app IDs to return. Defaults to 1000, which is also the upper limit. To get more than 1000, use pagination with 'pageSize' and 'pageToken' parameters. |
| 179 |
startKey: string, Returns the list of apps starting from the specified app ID. |
| 180 |
status: string, Optional. Filter by the status of the app. Valid values are `approved` or `revoked`. Defaults to `approved`. |
| 181 |
x__xgafv: string, V1 error format. |
| 182 |
Allowed values |
| 183 |
1 - v1 error format |
| 184 |
2 - v2 error format |
| 185 |
|
| 186 |
Returns: |
| 187 |
An object of the form: |
| 188 |
|
| 189 |
{ |
| 190 |
"app": [ |
| 191 |
{ |
| 192 |
"apiProducts": [ # List of API products associated with the app. |
| 193 |
{ |
| 194 |
"apiproduct": "A String", # Name of the API product. |
| 195 |
"status": "A String", # Status of the API product. Valid values are `approved` or `revoked`. |
| 196 |
}, |
| 197 |
], |
| 198 |
"appGroup": "A String", # Name of the AppGroup |
| 199 |
"appId": "A String", # ID of the app. |
| 200 |
"attributes": [ # List of attributes. |
| 201 |
{ # Key-value pair to store extra metadata. |
| 202 |
"name": "A String", # API key of the attribute. |
| 203 |
"value": "A String", # Value of the attribute. |
| 204 |
}, |
| 205 |
], |
| 206 |
"callbackUrl": "A String", # Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to apps. |
| 207 |
"companyName": "A String", # Name of the company that owns the app. |
| 208 |
"createdAt": "A String", # Output only. Unix time when the app was created. |
| 209 |
"credentials": [ # Output only. Set of credentials for the app. Credentials are API key/secret pairs associated with API products. |
| 210 |
{ |
| 211 |
"apiProducts": [ # List of API products this credential can be used for. |
| 212 |
{ |
| 213 |
"apiproduct": "A String", # Name of the API product. |
| 214 |
"status": "A String", # Status of the API product. Valid values are `approved` or `revoked`. |
| 215 |
}, |
| 216 |
], |
| 217 |
"attributes": [ # List of attributes associated with this credential. |
| 218 |
{ # Key-value pair to store extra metadata. |
| 219 |
"name": "A String", # API key of the attribute. |
| 220 |
"value": "A String", # Value of the attribute. |
| 221 |
}, |
| 222 |
], |
| 223 |
"consumerKey": "A String", # Consumer key. |
| 224 |
"consumerSecret": "A String", # Secret key. |
| 225 |
"expiresAt": "A String", # Time the credential will expire in milliseconds since epoch. |
| 226 |
"issuedAt": "A String", # Time the credential was issued in milliseconds since epoch. |
| 227 |
"scopes": [ # List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app. |
| 228 |
"A String", |
| 229 |
], |
| 230 |
"status": "A String", # Status of the credential. Valid values include `approved` or `revoked`. |
| 231 |
}, |
| 232 |
], |
| 233 |
"developerEmail": "A String", # Email of the developer. |
| 234 |
"developerId": "A String", # ID of the developer. |
| 235 |
"keyExpiresIn": "A String", # Duration, in milliseconds, of the consumer key that will be generated for the app. The default value, -1, indicates an infinite validity period. Once set, the expiration can't be updated. json key: keyExpiresIn |
| 236 |
"lastModifiedAt": "A String", # Output only. Last modified time as milliseconds since epoch. |
| 237 |
"name": "A String", # Name of the app. |
| 238 |
"scopes": [ # Scopes to apply to the app. The specified scope names must already exist on the API product that you associate with the app. |
| 239 |
"A String", |
| 240 |
], |
| 241 |
"status": "A String", # Status of the credential. |
| 242 |
}, |
| 243 |
], |
| 244 |
"nextPageToken": "A String", # Token that can be sent as `next_page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |
| 245 |
"totalSize": 42, # Total count of Apps. |
| 246 |
}</pre> |
| 247 |
</div> |
| 248 |
|
| 249 |
<div class="method"> |
| 250 |
<code class="details" id="list_next">list_next()</code> |
| 251 |
<pre>Retrieves the next page of results. |
| 252 |
|
| 253 |
Args: |
| 254 |
previous_request: The request for the previous page. (required) |
| 255 |
previous_response: The response from the request for the previous page. (required) |
| 256 |
|
| 257 |
Returns: |
| 258 |
A request object that you can call 'execute()' on to request the next |
| 259 |
page. Returns None if there are no more items in the collection. |
| 260 |
</pre> |
| 261 |
</div> |
| 262 |
|
| 263 |
</body></html> |