1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Remove Media Types info from REST stub files (#48566)

This commit is contained in:
Jess Hosman
2024-01-24 18:50:29 -07:00
committed by GitHub
parent 3156a89719
commit 55e3d46c4f
12 changed files with 3 additions and 201 deletions

View File

@@ -25,12 +25,4 @@ below). For more information, see the REST API "[AUTOTITLE](/rest/activity/watch
In responses from the REST API, `watchers`, `watchers_count`, and `stargazers_count` correspond to the number of users that have starred a repository, whereas `subscribers_count` corresponds to the number of watchers.
### Custom media types for starring
There is one supported custom media type for these endpoints. When you use this custom media type, you will receive a response with the `starred_at` timestamp property that indicates the time the star was created. The response also has a second property that includes the resource that is returned when the custom media type is not included. The property that contains the resource will be either `user` or `repo`.
application/vnd.github.star+json
For more information about media types, see "[AUTOTITLE](/rest/overview/media-types)."
<!-- Content after this section is automatically generated -->