 +    if ($@) {
 +        return $c->$cb({error => $@}, 400);
 +    } else {
-+        ( $biblionumber, $biblioitemnumber ) = &AddBiblio($record, $args->{framework} || '');
++        ( $biblionumber, $biblioitemnumber ) = &AddBiblio($record, '');
 +    }
 +    if ($biblionumber) {
 +        $c->res->headers->location($c->url_for('/api/v1/biblios/')->to_abs . $biblionumber);

+     "description": "Internal biblio identifier",
+     "required": true,
+     "type": "integer"
+  },
+    "frameworkQueryParam": {
+    "name": "framework",
+    "in": "query",
+    "description": "Biblio framework identifier",
+    "type": ["string", "null"]
+  }
+}
diff --git a/api/v1/swagger/definitions.json b/api/v1/swagger/definitions.json


diff --git a/Koha/REST/V1/Biblio.pm b/Koha/REST/V1/Biblio.pm
new file mode 100644
index 0000000..8db7361
--- /dev/null
+++ b/Koha/REST/V1/Biblio.pm
@@ -0,0 +1,175 @@
