Code Monkey home page Code Monkey logo

Comments (3)

bradrydzewski avatar bradrydzewski commented on July 19, 2024 1

I don't know if gitness supports personal repos which do not belong to any project but only belong to the user like GitHub

The short answer is no. There is no concept of a personal repository in Gitness.

Like GitHub, all repositories in Gitness must belong to a namespace (e.g. github.com/bradrydzewski would be the equivalent of gitness.com/bradrydzewski). The main difference is that GitHub creates a namespace automatically for every user account and GItness does not. If you want a personal namespace in Gitness, you would create a project with only you as the member.

from gitness.

Rutik7066 avatar Rutik7066 commented on July 19, 2024

How do I fetch all repositories belonging to the project?

from gitness.

bradrydzewski avatar bradrydzewski commented on July 19, 2024

This is the endpoint for returning a list of all project (space) repositories

http://localhost:3000/api/v1/spaces/{space}/+/repos?page=1&limit=20

Note that the Gitness user interface uses the API. So when in doubt, you can use Chrome Developer Tools to determine which endpoints are being called to fetch data.

Screenshot 2024-06-04 at 10 47 35 AM

There is also an interactive Swagger frontend that you can use to explore the API

http://localhost:3000/swagger#/space/listRepos

from gitness.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.