.. -*- mode:rst -*- .. _constitution: ======================= Constitution of Indiana ======================= Overview ======== The constitution of the state of Indiana is the collection of fundamental principles upon which the state is governed. Indiana’s constitution was established in 1851 and is composed of a preamble and 16 articles. The resources set out below provide programmatic access to the constitution, both in it's combined form and in it's individual articles. The API exposes archived versions of the constitution but the current version can also be obtained by substituting ``current`` for *year* in the url patterns below. .. note:: Currently, the API exposes articles for the ``current`` constitution only, a 404 response will be returned if articles for previous versions are requested. .. FIXME: This should contain an attributes section, but the attributes for this resource are pending a cleanup. Resources ========= .. include:: ../resource_maps/constitution.txt Examples ======== Get a PDF of the constitution as it was in 2013:: curl -i \ -X GET \ -H "Accept: application/pdf" \ -H "Authorization: Token my4pp1c4t10nt0k3n" https://api.iga.in.gov/const/2013 Get a PDF of Article 1 of the current Indiana constitution:: curl -i \ -X GET \ -H "Accept: application/pdf" \ -H "Authorization: Token my4pp1c4t10nt0k3n" https://api.iga.in.gov/const/current/articles/001