FYI, this is not actually the case; this case established no precedent for copyrightable APIs.
Because of the history of this case (it originally involved patents as well), it was appealed to the Federal Circuit, which doesn't normally handle copyright cases.
This was a gift for Oracle since the Federal Circuit loves expanding IP rights, but also helpful to the rest of us because the Federal Circuit has no jurisdiction over copyright cases. Future copyright cases will go up through whatever circuit you're in, which will not have to treat the Federal Circuit's ruling as precedent.