Where is the repository URL?

10 views
Skip to first unread message

Michael Beauregard

unread,
Nov 4, 2011, 11:41:34 AM11/4/11
to Beanstalk API Developers
I want to create a repo on the command line and inform the user where
to clone the repo from. I'm pretty surprised to discover that the git
repo url is not part of the json object returned when creating or
finding a repo.

Am I missing something?

Michael

Ilya Sabanin

unread,
Nov 4, 2011, 11:52:42 AM11/4/11
to beanstalkapp-...@googlegroups.com
Hi Michael,

You are right, repository URL is not included in the JSON. But you can construct it yourself easily. The pattern looks like this:

g...@accountname.beanstalkapp.com:/repositoryname.git

Just replace accountname and repositoryname with real names and you are good to go.

Ilya Sabanin
Lead Beanstalk Developer
http://twitter.com/isabanin
My timezone is GMT + 8

> --
> You received this message because you are subscribed to the Google Groups "Beanstalk API Developers" group.
> To post to this group, send email to beanstalkapp-...@googlegroups.com.
> To unsubscribe from this group, send email to beanstalkapp-api-de...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beanstalkapp-api-developers?hl=en.
>

Michael Beauregard

unread,
Nov 4, 2011, 12:56:33 PM11/4/11
to beanstalkapp-...@googlegroups.com
Yeah that's what I did, but thought it was kind of crazy to not have the url in the json. It would allow beanstalk the flexibility of using a different strategy in the future without impacting clients.

Thanks!
Reply all
Reply to author
Forward
0 new messages