|
40 | 40 | "ContentType" |
41 | 41 | ], |
42 | 42 | "operationId": "ContentType_ListByService", |
43 | | - "description": "Returns list of content types", |
| 43 | + "description": "Lists the developer portal's content types. Content types describe content items' properties, validation rules, and constraints.", |
44 | 44 | "x-ms-examples": { |
45 | 45 | "ApiManagementListContentTypes": { |
46 | 46 | "$ref": "./examples/ApiManagementListContentTypes.json" |
|
62 | 62 | ], |
63 | 63 | "responses": { |
64 | 64 | "200": { |
65 | | - "description": "Lists a collection of content type entities.", |
| 65 | + "description": "Returns a collection of the Content Type entities.", |
66 | 66 | "schema": { |
67 | 67 | "$ref": "./definitions.json#/definitions/ContentTypeCollection" |
68 | 68 | } |
|
85 | 85 | "ContentType" |
86 | 86 | ], |
87 | 87 | "operationId": "ContentType_Get", |
88 | | - "description": "Gets API Management content type details.", |
| 88 | + "description": "Gets the details of the developer portal's content type. Content types describe content items' properties, validation rules, and constraints.", |
89 | 89 | "x-ms-examples": { |
90 | 90 | "ApiManagementGetContentType": { |
91 | 91 | "$ref": "./examples/ApiManagementGetContentType.json" |
|
110 | 110 | ], |
111 | 111 | "responses": { |
112 | 112 | "200": { |
113 | | - "description": "Get the details of the content type.", |
| 113 | + "description": "Returns the details of the specified content type.", |
114 | 114 | "schema": { |
115 | 115 | "$ref": "./definitions.json#/definitions/ContentTypeContract" |
116 | 116 | }, |
|
134 | 134 | "ContentType" |
135 | 135 | ], |
136 | 136 | "operationId": "ContentType_CreateOrUpdate", |
137 | | - "description": "Creates or updates an Content Type.", |
| 137 | + "description": "Creates or updates the developer portal's content type. Content types describe content items' properties, validation rules, and constraints. Custom content types' identifiers need to start with the `c-` prefix. Built-in content types can't be modified.", |
138 | 138 | "x-ms-examples": { |
139 | 139 | "ApiManagementCreateContentType": { |
140 | 140 | "$ref": "./examples/ApiManagementCreateContentType.json" |
|
162 | 162 | ], |
163 | 163 | "responses": { |
164 | 164 | "201": { |
165 | | - "description": "Content type was successfully created.", |
| 165 | + "description": "The content type was successfully created.", |
166 | 166 | "headers": { |
167 | 167 | "ETag": { |
168 | 168 | "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", |
|
198 | 198 | "ContentType" |
199 | 199 | ], |
200 | 200 | "operationId": "ContentType_Delete", |
201 | | - "description": "Removes specified content type.", |
| 201 | + "description": "Removes the specified developer portal's content type. Content types describe content items' properties, validation rules, and constraints. Built-in content types (with identifiers starting with the `c-` prefix) can't be removed.", |
202 | 202 | "x-ms-examples": { |
203 | 203 | "ApiManagementDeleteContentType": { |
204 | 204 | "$ref": "./examples/ApiManagementDeleteContentType.json" |
|
246 | 246 | "ContentTypeContentItem" |
247 | 247 | ], |
248 | 248 | "operationId": "ContentItem_ListByService", |
249 | | - "description": "Returns list of content items", |
| 249 | + "description": "Lists developer portal's content items specified by the provided content type.", |
250 | 250 | "x-ms-examples": { |
251 | 251 | "ApiManagementListContentTypeContentItems": { |
252 | 252 | "$ref": "./examples/ApiManagementListContentTypeContentItems.json" |
|
271 | 271 | ], |
272 | 272 | "responses": { |
273 | 273 | "200": { |
274 | | - "description": "Lists a collection of Content Type entities.", |
| 274 | + "description": "Returns a collection of Content Type entities.", |
275 | 275 | "schema": { |
276 | 276 | "$ref": "./definitions.json#/definitions/ContentItemCollection" |
277 | 277 | } |
|
294 | 294 | "ContentTypeContentItem" |
295 | 295 | ], |
296 | 296 | "operationId": "ContentItem_GetEntityTag", |
297 | | - "description": "Returns content item metadata", |
| 297 | + "description": "Returns the entity state (ETag) version of the developer portal's content item specified by its identifier.", |
298 | 298 | "x-ms-examples": { |
299 | 299 | "ApiManagementHeadContentTypeContentItem": { |
300 | 300 | "$ref": "./examples/ApiManagementHeadContentTypeContentItem.json" |
|
343 | 343 | "ContentTypeContentItem" |
344 | 344 | ], |
345 | 345 | "operationId": "ContentItem_Get", |
346 | | - "description": "Returns content item details", |
| 346 | + "description": "Returns the developer portal's content item specified by its identifier.", |
347 | 347 | "x-ms-examples": { |
348 | 348 | "ApiManagementGetContentTypeContentItem": { |
349 | 349 | "$ref": "./examples/ApiManagementGetContentTypeContentItem.json" |
|
371 | 371 | ], |
372 | 372 | "responses": { |
373 | 373 | "200": { |
374 | | - "description": "Get the details of the content item.", |
| 374 | + "description": "Returns the content item.", |
375 | 375 | "schema": { |
376 | 376 | "$ref": "./definitions.json#/definitions/ContentItemContract" |
377 | 377 | }, |
|
395 | 395 | "ContentTypeContentItem" |
396 | 396 | ], |
397 | 397 | "operationId": "ContentItem_CreateOrUpdate", |
398 | | - "description": "Creates new content item", |
| 398 | + "description": "Creates a new developer portal's content item specified by the provided content type.", |
399 | 399 | "x-ms-examples": { |
400 | 400 | "ApiManagementCreateContentTypeContentItem": { |
401 | 401 | "$ref": "./examples/ApiManagementCreateContentTypeContentItem.json" |
|
426 | 426 | ], |
427 | 427 | "responses": { |
428 | 428 | "201": { |
429 | | - "description": "Content item was successfully created.", |
| 429 | + "description": "The content item was successfully created.", |
430 | 430 | "headers": { |
431 | 431 | "ETag": { |
432 | 432 | "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", |
|
462 | 462 | "ContentTypeContentItem" |
463 | 463 | ], |
464 | 464 | "operationId": "ContentItem_Delete", |
465 | | - "description": "Removes specified content item.", |
| 465 | + "description": "Removes the specified developer portal's content item.", |
466 | 466 | "x-ms-examples": { |
467 | 467 | "ApiManagementDeleteContentTypeContentItem": { |
468 | 468 | "$ref": "./examples/ApiManagementDeleteContentTypeContentItem.json" |
|
0 commit comments