~edwargix/git.sr.ht

c3727531fd679561f2f64bdf99e9b941dc4dc62f — Adnan Maolood 2 years ago d3869ff
api/graph/schema.graphqls: Clarify Entity docstrings
1 files changed, 2 insertions(+), 10 deletions(-)

M api/graph/schema.graphqls
M api/graph/schema.graphqls => api/graph/schema.graphqls +2 -10
@@ 87,18 87,10 @@ interface Entity {
  """
  canonicalName: String!

  "Returns a specific repository owned by the user."
  "Returns a specific repository owned by the entity."
  repository(name: String!): Repository @access(scope: REPOSITORIES, kind: RO)

  """
  Returns repositories that the user has access to.

  NOTE: in this version of the API, only repositories owned by the
  authenticated user are returned, but in the future the default behavior
  will be to return all repositories that the user either (1) has been given
  explicit access to via ACLs or (2) has implicit access to either by
  ownership or group membership.
  """
  "Returns a list of repositories owned by the entity."
  repositories(cursor: Cursor, filter: Filter): RepositoryCursor! @access(scope: REPOSITORIES, kind: RO)
}