1

I don't know if this is by design, but the ServerFault and SuperUser Meta sites don't follow their main sites in the response for the sites API route. Having linked_meta sites follow their main (normal) sites makes grouping sites much easier, so I'm hoping this will be fixed.

Also, their icon URLs currently return 404s, but I'm guessing that's only temporary.

1
  • 2
    code poet's answer is correct. This by design behavior, the ordering of /sites is not guaranteed. Commented Jul 23, 2010 at 1:32

1 Answer 1

2

The appearance order of sites in /sites is non-determinant and should not be relied upon.

On a personal note, using order of appearance as a grouping seems more complex than simply using a meta. modifier

I am certain that you can depend on the api.xxx.com/api.meta.xxx.com pattern and can assemble your grouping or relations.

And, no, i am no authority, but i do play one in my own mind. at night. when i am staying at a holiday inn express.

7 Comments

Do you always sleep with a gun under your pillow?
Holiday Inn Express? A programmer???
@far - i guess you need to be a yank to get that one. google.com/…"
me no likey two-pass. thanks for the answer, though =)
@can - if you reverse the api_endpoint and sort (or do it in place) you will get what you want quite easily without having to parse the strings.
|

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.