135 points · by apievangelist · 14y ago · 25 comments
The equivalent for a general API would be avoiding the documentation and the actual API files (headers etc.) and developing an alternative implementation from examples of client code and the behaviour observed of the library when tested with inputs.
This may be the answer, allow APIs to be copyrighted (in general - some may be too trivial to be copyrightable where there are limited sensible approaches) but allow the reverse engineering of behaviour.
Of course it would be possible to grant licenses to the the API and it may be sensible to consider the flexibility of the API license when choosing to use a library, webservice or framework and the difficulty of transferring away from it to an alternative supplier.
On the flip side, API copyrights could be rendered moot by simply reverse engineering everything, which isn't really that hard.
Whether it is or isn't hard will depend on the size and scale of the API that you are trying to recreate. It is probably hard enough that it would normally be easier to create your own API except where you were doing it to create an alternative platform for existing code.
Secondly exactly what is it a solution to?
Have you considered any possible costs or downsides to the proposal?
The US Copyright Law Chapter 12 provides for reverse engineering, for the purpose of interoperability. So that would seem to negate any defense of copyright of an API, whose sole purpose is interoperability.
And it is unclear that an API is full of creative work in the sense of what copyright covers. JK Rowling could have written the Harry Potter books in the first person and still told the same story, but she chose not to. Books are full of all sorts of choies like that. But if you change an API, it is no longer the same API and no longer capable of interacting with a program that implements the original API. There is no room for creativity, because differences are functional. Copyright doesn't cover function — that's what patents are for.
This isn't to say that APIs can't be well designed or poorly designed — just that insofar as they are mere information about how you interact with a system, they are not copyrightable. Information is not copyrightable.
What distinguishes an API is that it is by definition the unambiguous formal specification of the implementation's function. A function can only be used if the provider and user of the interface agree. Once one side is established, it removes all opportunity for creativity from the other. If the library provides "sort(container&, iterator start, iterator end)" then that's how the user has to call it; you have no choice. And if the user code calls it that way then every library implementation must implement it that way.
APIs are in a bit of a curious situation in that making them can be a creative activity but then the act of specifying them makes the specification functional. But if you think about it, it isn't really all that novel. It happens anywhere you have an interface between functional components of anything -- you can make the interface decorative, but you can't use that to exclude competitors from the market, because by incorporating what would otherwise be decoration as a necessary part of the interface, you make it inherently functional. You can't exclude competitors from making screw drivers compatible with your screws (or screws compatible with your screw drivers) just by using an arbitrary new screw head and then trying to claim copyright over it. (Naturally utility patents are a different animal.)
However, you can change the design of a piece of software (for example, a user interface) while having it still be able to fulfill its purpose. So in the general case, software design is not necessarily strictly functional.
And a list is not copyrightable.
Think to the Yellow Pages for examples. No Copyright on name, address and numbers (hopefully) , because no specific form or shape to these writings.
The case is to define if design an API is more than listing URLs. I don't think so, and the Judge Alsup of Oracle vs Google who was developer too, said the same thing.
But API providers will try to not accept this. Do you remeber Twitter's message to developers
http://apijoy.tumblr.com/post/34350096121/twitter-api-teams-...
?
IFTTT, Zapier, Webshell.io, Webscript.io, Elasctic.io, Apiary.io, Opalang.org, Rules.io etc...we have something to bring to api@eff.org
Would this cover a language-specific wrapper around an HTTP API? For example, I wrote a Python library for the iHackerNews API[0]. Would something like that count as a reimplementation for the purposes of their request?