Lists the repositories of this instance that depend on the repository
GET
/repos/{owner}/{repo}/security/dependents
const url = 'https://gitea.example.com/api/v1/repos/example/example/security/dependents?page=1';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://gitea.example.com/api/v1/repos/example/example/security/dependents?page=1' \ --header 'Authorization: Basic <credentials>'Gitea Enterprise only. This endpoint is not part of the community edition.
Read from the dependencies the default branch of every repository was last scanned with. A repository the reader cannot read is left out.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”owner
required
string
Name of the owner
repo
required
string
Name of the repository
Query Parameters
Section titled “Query Parameters”page
integer
Page number of results to return (1-based)
limit
integer
Number of items per page
Responses
Section titled “Responses”DependentList
Media typeapplication/json
Array<object>
Dependent is a repository of this instance that depends on the repository asked about.object
branch
The default branch of that repository, the branch the dependency was read from
string
ecosystem
string
manifest_path
The file that declares the dependency
string
name
string
ref
Tag or commit of the repository asked about the version points at
string
repository
Full name (owner/repo) of the repository that depends
string
version
string
Examplegenerated
[ { "branch": "example", "ecosystem": "example", "manifest_path": "example", "name": "example", "ref": "example", "repository": "example", "version": "example" }]APINotFound is a not found empty response