Project url to project # mapping

Started by Randy Stebbing on Friday, December 17, 2010


Related Projects:

Showing all 7 posts
12/17/2010 at 8:31 AM

The docs show this for an example of a query for a project:

And after examining the returned data I can see that it returns info for this particular project:

Can I go the other way around and provide it with the normal URL instead of "project-6"? How do I know what project number a particular project is?

Private User
12/17/2010 at 10:05 AM

"project-6" is the project ID.

If you view the XML variant you will see an easy way to build the project URL:

Since they have started addressing projects by project ID instead of name we might have an opening on what we have complained a lot about: We cannot rename projects or have two projects with identical names.

12/17/2010 at 12:20 PM

I don't think that quite answers the question, Bjorn. For example, what's the project ID for ?

Private User
12/17/2010 at 12:50 PM

I thought we was discussing the API.

Private User
12/17/2010 at 1:04 PM

Anyhow - in your case the project-ID is listed in the html page as well: project-124

It is just a question about picking up the value in the page.

12/17/2010 at 4:02 PM

Sorry if I came off harsh there! I just had a similar question. It looks like the project ID isn't visible directly on the page, but if you scan the HTML you can find the project ID in the source.

Private User
12/17/2010 at 4:14 PM

Correct, and since we are in an API discussion I expected that you was talking about processing the data with a program and not your eyes ;-)

Have a nice weekend!

Showing all 7 posts

Create a free account or login to participate in this discussion