BC Gov News API Service 1.0
News API
Government & public#openapi#open-data
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
News API
Endpoints 27
FacebookPosts
- GETGet a Facebook post based on a Uri
/api/FacebookPosts/ByUri?uri=&api-version=1.0
Home
- GETReturns the top level content for the home page
/api/Home?api-version=1.0
Ministries
- GETGet all ministries
/api/Ministries?api-version=1.0 - GETGet the Ministry associated with the ministry key
/api/Ministries/:key?api-version=1.0 - GETGet the Minister associated with the ministry key
/api/Ministries/:key/Minister?api-version=1.0
Newsletters
- GETGet all newsletters
/api/Newsletters?api-version=1.0 - GETGet the image object reference by of a Newsletter Edition associated with the image guid
/api/Newsletters/Images/:guid?api-version=1.0 - GETGet a specific newsletter
/api/Newsletters/:newsletterKey?api-version=1.0 - GETReturns a specific edition of a newsletter
/api/Newsletters/:newsletterKey/Editions/:editionKey?api-version=1.0 - GETGet an article belonging to a Newsletter edition
/api/Newsletters/:newsletterKey/Editions/:editionKey/Articles/:articleKey?api-version=1.0
Posts
- GETGet the posts associated with the keys in the list passed in.
/api/Posts?postKeys=&api-version=1.0 - GETGet all keys for the specified index (newsroom or category)
/api/Posts/Keys/:indexKind/:indexKey?postKind=&count=&skip=&api-version=1.0 - GETGet the post key associated with the reference.
/api/Posts/Keys/:reference?api-version=1.0 - GETGet the latest posts of postKind for the specified index (default or category)
/api/Posts/Latest/:indexKind/:indexKey?postKind=&count=&skip=&api-version=1.0 - GETGets the latest Social Media post for the social media type passed in.
/api/Posts/LatestMediaUri/:mediaType?api-version=1.0 - GETGet the post associated with the key
/api/Posts/:key?api-version=1.0
ResourceLinks
- GETGet all resource links
/api/ResourceLinks?api-version=1.0
Sectors
- GETGet all Sectors
/api/Sectors?api-version=1.0 - GETGet the sector associated with the key
/api/Sectors/:key?api-version=1.0
Services
- GETGet all Services
/api/Services?api-version=1.0 - GETGet the service associated with the passed key
/api/Services/:key?api-version=1.0
Slides
- GETGet all Slides
/api/Slides?api-version=1.0 - GETGet the slide associated to the id
/api/Slides/:id?api-version=1.0
Tags
- GETGet all Tags
/api/Tags?api-version=1.0 - GETGet the Tag associated with the key
/api/Tags/:key?api-version=1.0
Themes
- GETGet all Themes
/api/Themes?api-version=1.0 - GETGet the Theme associated with the key
/api/Themes/:key?api-version=1.0
API details
- Base URL
https://news.api.gov.bc.ca- Authentication
- None declared in the description
- Operations
- 27 operations on 27 pathsGET 27
- Main resources
- Posts 6Newsletters 5Ministries 3Sectors 2Services 2Slides 2Tags 2Themes 2FacebookPosts 1Home 1
- Response formats
application/jsontext/jsontext/plain- Description format
- OpenAPI 3.0.0, API version
1.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the BC Gov News API Service 1.0 in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the BC Gov News API Service 1.0 collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Get a Facebook post based on a Uri” (GET /api/FacebookPosts/ByUri?uri=&api-version=1.0), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the BC Gov News API Service 1.0?
News API It is listed under Government & public and has 27 endpoints.
Who publishes the BC Gov News API Service 1.0?
It is listed from Bc's public API description (an OpenAPI document), not published by Bc on Swastik Codes. Anyone who controls gov.bc.ca can claim the profile by adding a DNS TXT record.
What is the base URL of the BC Gov News API Service 1.0?
Requests go to https://news.api.gov.bc.ca. Endpoint paths are added to this base URL.
How do I authenticate with the BC Gov News API Service 1.0?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the BC Gov News API Service 1.0 have?
27 operations on 27 paths (27 GET). The largest groups are Posts, Newsletters, Ministries, Sectors.
Is forking the BC Gov News API Service 1.0 free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.