Entity Editor Seeding¶
This page documents a list of parameters you can POST to the entity editor to “seed” it. All values are optional unless otherwise stated.
This feature is most useful for bookbrainz’s import userscripts.
All date’s parameters mentioned below should be in format of YYYY-MM-DD eg. 2002-02-27.
Generic Sections¶
This will include parameters for those sections which are common to all entities.
Name Section¶
nameSection.namestringdefaultAlias’s name for Entity
nameSection.sortNamestringdefaultAlias’s sortName for Entity
nameSection.languagestringdefaultAlias’s language for Entity
nameSection.disambiguationstringdisambiguation for Entity
Identifier Editor¶
identifierEditor.t{id}string (int id for that identifier)adding one identifier row to identifierEditor
eg. for isbn13 parameter would be
identifierEditor.t9
Annotation Section¶
annotationSectionstringcontent for annotationSection
Submission Section¶
submissionSectionstringnote for submissionSection
Entity Specific¶
This includes entity specific parameters.
Work Section¶
workSection.typestringwork entity type eg. Novel
workSection.languages{i}string (int i index of language)work entity multi-languages
Edition Section¶
editionSection.publisherstringpublisher of the edition entity
editionSection.releaseDatestringedition release date
editionSection.languages{i}string (int i index of language)edition entity multi-languages
editionSection.formatstringedition format eg. Paperback
editionSection.xnumber, x(height | width | depth | weight | pages)edition format eg. editionSection.pages
EditionGroup Section¶
editionGroup.typestringedition-group entity type eg. Book
Series Section¶
seriesSection.orderTypestring (Automatic | Manual)ordering type for series entity
seriesSection.seriesTypestringseries type for series entity eg. Work
Publisher Section¶
publisherSection.typestringpublisher type for publisher entity eg. Distributer
publisherSection.beginDatestringdate founded for publisher entity
publisherSection.endDatestringdate dissolved for publisher entity
publisherSection.areastringarea for publisher entity
Example Submission¶
Basic form request body for seeding edition entity should look something like this
{
"nameSection.name": "Thinking,+Fast+and+Slow",
"nameSection.sortName": "Thinking,+Fast+and+Slow",
"nameSection.language": "English",
"identifierEditor.t9": "978-0374533557",
"identifierEditor.t10": "0374533555",
"identifierEditor.t5": "0374533555",
"editionSection.publisher": "Farrar,+Straus+and+Giroux",
"editionSection.releaseDate": "2013-04-02",
"editionSection.format": "Paperback",
"editionSection.pages": "499",
"editionSection.width": "37",
"editionSection.height": "139",
"editionSection.depth": "209",
"editionSection.weight": "453",
"submissionSection": "Imported+from+Amazon\r\nsource:+www.amazon.com/dp/0374533555\r\nscript:+amazon-import\r\nversion:+0.0.1+\r\n++++"
}