[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: salsa namespace_id for debiangames-team



On Tue, 2018-01-09 at 16:16 +0000, Phil Morrell wrote:
...
> > the docs say to look up namespace ids for other groups with
> >     curl     https://salsa.debian.org/api/v4/groupsps     | jq . |
> > less
> > 
> > But there is no listing there for debiangames-team.
> 
> Hello Drew,
> 
> Looks like GitLab uses header [pagination](https://docs.gitlab.com/ee
> /api/README.html#pagination-link-header):
...
> So as a quick hack you can get the next page URL with:
> 
>     curl -I https://salsa.debian.org/api/v4/groups | sed -n -e
> '/Link/p' \
>     | awk -F'<|>' '{print $2}' | xargs curl

And  "| jq . " formats it for easy reading.

> debiangames-team is ID 2006


Thanks Phil, I see it now.   Imported now.

Drew



Reply to: