Read Section Information
Get information about the specified section, including its name, its channel, and whether it’s a default section.
URL
GET https://news-api.apple.com/sections/{sectionId}Path Parameters
| Name | Type | Description |
|---|---|---|
sectionId Required | string | The UUID of the section with information to fetch. |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | SectionResponse | The request was successful. |
| 400 | Bad Request Content-Type: application/json | Error |
|
| 401 | Unauthorized Content-Type: application/json | Error | You didn’t include the |
| 403 | Forbidden Content-Type: application/json | Error | You tried to access a channel your API key doesn’t have permission to access. Key path: None. |
| 404 | Not Found Content-Type: application/json | Error |
|
Discussion
A Read Section Information request retrieves information about a single section. A section is a grouping of articles on a particular topic; for example, Sports, Silicon Valley, or Politics.
Every channel has a default section, even if no other sections are defined. See Add and manage sections in News Publisher User Guide.