Skip to content

Commit

Permalink
minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
h1-the-swan committed Feb 12, 2024
1 parent 91fe84f commit 0d7b60e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api-entities/topics/get-a-single-topic.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
It's easy to get a topic from the API with: `/topics/<entity_id>`. Here's an example:

* Get the topic with the [OpenAlex ID](../../how-to-use-the-api/get-single-entities/#the-openalex-id) `C71924100`:\
[https://api.openalex.org/topics/T11636](https://api.openalex.org/topics/T11636)
[`https://api.openalex.org/topics/T11636`](https://api.openalex.org/topics/T11636)

That will return a [`Topic`](../topics/topic-object.md) object, describing everything OpenAlex knows about the topic with that ID:

Expand All @@ -24,4 +24,4 @@ You can make up to 50 of these queries at once by [requesting a list of entities
You can use `select` to limit the fields that are returned in a topic object. More details are [here](../../how-to-use-the-api/get-lists-of-entities/select-fields.md).

* Display only the `id` and `display_name` for a topic object\
[https://api.openalex.org/topics/T11636?select=id,display\_name](https://api.openalex.org/topics/T11636?select=id,display\_name)
[`https://api.openalex.org/topics/T11636?select=id,display\_name`](https://api.openalex.org/topics/T11636?select=id,display\_name)

0 comments on commit 0d7b60e

Please sign in to comment.