Created
December 10, 2012 08:47
-
-
Save tjboudreaux/4249390 to your computer and use it in GitHub Desktop.
Description of a Catholic API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title" : "Dei Verbum", | |
"full-title" : "Dogmatic Constitution on Divine Revelation Dei Verbum Solemnly Promulgated by His Holiness Pope Paul VI on Nov 18, 1965", | |
"tags" : ["Vatican II"], | |
"author" : "Pope Paul VI", | |
"sections" : { | |
"Preface" : [ | |
"1. Hearing the word of God with reverence and proclaiming it with faith, the sacred synod takes its direction from these words of St. John: \"We announce to you the eternal life which dwelt with the Father and was made visible to us. What we have seen and heard we announce to you, so that you may have fellowship with us and our common fellowship be with the Father and His Son Jesus Christ\" (1 John 1:2-3). Therefore, following in the footsteps of the Council of Trent and of the First Vatican Council, this present council wishes to set forth authentic doctrine on divine revelation and how it is handed on, so that by hearing the message of salvation the whole world may believe, by believing it may hope, and by hoping it may love. (1)" | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"timestamp": "1355125719", | |
"collect": "O God, Father of mercies, who placed your people under the singular protection of your Son's most holy Mother, grant that all who invoke the Blessed Virgin of Guadalupe, may seek with ever more lively faith the progress of peoples in the ways of justice and of peace. Through our Lord Jesus Christ, your Son, who lives and reigns with you in the unity of the Holy Spirit, one God, for ever and ever.", | |
"season": "Advent", | |
"rank": "feast", | |
"ordo": "usa", | |
"color": "white", | |
"title": "Our Lady of Guadalupe, BVM" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /calendar/today returns JSON object describing the currrent liturgical day | |
GET /calendar/:date|YYYYMMDD returns JSON object describing the liturgical day for :date | |
GET /councils/ return JSON list of church councils | |
GET /councils/:id return JSON object of a church council | |
GET /councils/:id/documents return JSON list of all documents for a council | |
GET /documents/:id return JSON object of a church document. | |
Defaults to english or latin? | |
Parameters: | |
:language | |
GET /dioceses/:country return JSON list of all dioceses in a country | |
GET /dioceses/:id return JSON object a diocese | |
GET /dioceses/:id/dioceses return JSON list of all dioceses under an archdiocese | |
GET /persons/servants return JSON list of people declared Servants of God | |
GET /persons/beatified return JSON list of people beatified | |
GET /persons/cannonized return JSON list of people cannonized | |
GET /persons/:id returns a JSON object describing a person | |
GET /persons/:id/documents return a JSON list of all documents attributed to a person | |
GET /persons/:id/quotes return a JSON list of all quotes attributed to a person | |
GET /prayers/:tag return a list of prayers on a subject | |
GET /prayers/:id return a JSON object describing a prayer. | |
GET /quotes/:id return a JSON object describing a quote | |
GET /quotes/:tag return a JSON list of quotes tagged with the subject | |
#need to figure out the best way to describe the summa through a RESTFUL URL | |
GET /summa/ | |
GET /scripture/:book/:range returns a JSON object of scripture verses | |
GET /catechism/:paragraph returns a JSON object of catechism paragraphs | |
GET /search/:query returns a JSON list of objects matching query. Accepts filtering parameters |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
are you currently working on this?