INTERFACE

Repository

Represents a repository available for a given repository endpoint Eg. cmbu/guardrails-service

link GraphQL Schema definition

  • interface Repository {
  • # Timestamp at which Assessment is created. Expressed in UTC ISO-8601 format
  • creationTime: DateTime!
  • # Repository endpoint for this repository
  • endpoint: RepositoryEndpoint!
  • # Global opaque identifier to meet Node contract
  • id: ID!
  • # Name of repository
  • # Eg. for https://gitlab.eng.vmware.com/cmbu/guardrails-service , We can have name
  • # as guardrails-service
  • name: String!
  • # Path of repository
  • # Eg. for https://gitlab.eng.vmware.com/cmbu/guardrails-service , path will be
  • # cmbu/guardrails-service
  • path: String!
  • # Domain-specific repository instance identifier
  • repositoryId: String!
  • # repositoryVersions associated with this repository
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # before: Return records before the given cursor, as per GraphQL
  • # Relay spec
  • # filter: [Not documented]
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • # sort: Sort by one or more attributes, default sort : Sort by
  • # creationTime descending
  • repositoryVersions(
  • after: String,
  • before: String,
  • filter: QueryFilter,
  • first: Int,
  • sort: [QuerySort!]
  • ): RepositoryVersionConnection!
  • }