Cannot import SmartDocs JSON file

Not applicable

Can someone please chime in? I literally exported this file from the developer portal I have. Removed a method. Then trying to import into a model again. The option I am selecting is SmartDocs JSON file format which looks like this..but it fails to import and the error messages on the portal are well, not that detailed and it gets cut-off too (see below)

Anyone successfully import either Swagger via URL or SmartDocs JSON file? Help? 🙂

MessageInternal Server Error: POST https://api.enterprise.apigee.com/v1/o/lifestream... with Content-Length of 24004 and Content-Type of
{
  "id" : "bc092aab-1d89-4113-8c35-b81da2ede631",
  "displayName" : "BETA",
  "description" : "The Lifestreams BETA API ",
  "revisionNumber" : 1,
  "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
  "releaseVersion" : "v1",
  "resources" : [ {
    "id" : "c4bf5321-80d8-45db-b7a0-70d5c02a82f3",
    "name" : "UserMembership",
    "displayName" : "User Membership",
    "description" : "The User's Memberships on various Timelines.",
    "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
    "path" : "/users/{user_id}/membership",
    "parameters" : [ {
      "dataType" : "string",
      "description" : "The unique User Id",
      "name" : "user_id",
      "required" : true,
      "type" : "TEMPLATE"
    } ],
    "methods" : [ {
      "id" : "bbe08739-2dfb-4972-8f0b-94b4d91d89d9",
      "name" : "GetMemberships",
      "displayName" : "Get Memberships",
      "description" : "<p>Retrieve the User's Memberships.</p>\r\n",
      "verb" : "GET",
      "authSchemes" : [ "CUSTOM" ],
      "parameters" : [ {
        "dataType" : "string",
        "description" : "The unique User Id.",
        "name" : "user_id",
        "required" : true,
        "type" : "TEMPLATE"
      } ],
      "body" : {
        "contentType" : "application/jsonp",
        "doc" : "",
        "parameters" : [ ],
        "sample" : ""
      },
      "tags" : [ "User Membership" ],
      "createdTime" : 1415143762785,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/users/{user_id}/membership",
      "resourceId" : "c4bf5321-80d8-45db-b7a0-70d5c02a82f3",
      "resourceName" : "UserMembership",
      "resources" : [ ],
      "revisionNumber" : 1
    }, {
      "id" : "944a5462-9f03-4471-bc31-a0962539eb38",
      "name" : "AddMembership",
      "displayName" : "Add Membership",
      "description" : "<p>Add a User to a given Timeline.</p>\r\n",
      "verb" : "POST",
      "authSchemes" : [ "CUSTOM" ],
      "parameters" : [ {
        "dataType" : "string",
        "description" : "The unique User Id.",
        "name" : "user_id",
        "required" : true,
        "type" : "TEMPLATE"
      } ],
      "body" : {
        "contentType" : "application/jsonp",
        "doc" : "<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" class=\"table table-striped\">\r\n\t<thead>\r\n\t\t<tr>\r\n\t\t\t<th scope=\"col\">Name</th>\r\n\t\t\t<th scope=\"col\">Description</th>\r\n\t\t\t<th scope=\"col\">Required?</th>\r\n\t\t</tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td>timelineId</td>\r\n\t\t\t<td>The unique ID of the Timeline the User is to be added to.</td>\r\n\t\t\t<td>Yes</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>role</td>\r\n\t\t\t<td>\r\n\t\t\t<p>The Role the User will have as a member of this Timeline.  </p>\r\n\r\n\t\t\t<p>Possible Roles are:</p>\r\n\r\n\t\t\t<p> a) Admin - Full control of the Timeline</p>\r\n\r\n\t\t\t<p> b) EndUser - Has read-only to the Timeline.</p>\r\n\r\n\t\t\t<p> </p>\r\n\r\n\t\t\t<p> </p>\r\n\t\t\t</td>\r\n\t\t\t<td>Yes</td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n<!--break-->\r\n\r\n<p> </p>\r\n",
        "parameters" : [ ],
        "sample" : "{\r\n    \"timelineId\": \"54bc10dde9fa32231a\",\r\n    \"role\": \"admin\"\r\n}"
      },
      "tags" : [ "User Membership" ],
      "createdTime" : 1415146728441,
      "modifiedTime" : 1415147707449,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/users/{user_id}/membership",
      "resourceId" : "c4bf5321-80d8-45db-b7a0-70d5c02a82f3",
      "resourceName" : "UserMembership",
      "resources" : [ ],
      "revisionNumber" : 1
    } ],
    "createdTime" : 1415143620270,
    "modifiedTime" : 1415302262791,
    "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
    "resources" : [ ],
    "revisionNumber" : 1
  }, {
    "id" : "86053891-e33a-46f5-8e1b-70e2a243fa4c",
    "name" : "Users",
    "displayName" : "Users",
    "description" : "This endpoint lists the users who have been created under the scope of the authenticated application.\r\n - Developer mode: allowed\r\n - End-user mode: forbidden",
    "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
    "path" : "/users",
    "methods" : [ {
      "id" : "a0d5e419-c372-4895-9302-2bf723be77f5",
      "name" : "GetUsers",
      "displayName" : "Get Users",
      "description" : "<p style=\"margin-top: 0.5em; margin-bottom: 0.5em; font-family: 'Proxima Nova', Helvetica, sans-serif; font-size: 13px; line-height: 16.8999996185303px;\">List the Users for a given App previously created via the Developer Portal</p>\r\n",
      "verb" : "GET",
      "authSchemes" : [ "CUSTOM" ],
      "body" : {
        "contentType" : "application/jsonp",
        "doc" : "",
        "parameters" : [ ],
        "sample" : "{\r\n  \"Get Users\"\r\n}"
      },
      "createdTime" : 1414792728175,
      "modifiedTime" : 1414799123144,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/users",
      "resourceId" : "86053891-e33a-46f5-8e1b-70e2a243fa4c",
      "resourceName" : "Users",
      "resources" : [ ],
      "revisionNumber" : 1
    }, {
      "id" : "0e19e929-1498-43d1-872d-ceb73b752823",
      "name" : "CreateUser",
      "displayName" : "Create User",
      "description" : "<p><span style=\"font-size:16px;\"><strong>Creation Mode</strong></span></p>\r\n\r\n<p>Creating users requires elevated permissions, the Client App is used to create users.  </p>\r\n\r\n<ul style=\"list-style-position: initial; list-style-image: initial; margin-left: 0.5em; margin-top: 0.7em; font-family: 'Proxima Nova', Helvetica, sans-serif; font-size: 13px; line-height: 16.8999996185303px;\">\r\n\t<li style=\"margin-top: 0.4em; margin-bottom: 0.4em;\">\r\n\t<p style=\"margin-top: 0.5em; margin-bottom: 0.5em;\">Developer mode: allowed</p>\r\n\t</li>\r\n\t<li style=\"margin-top: 0.4em; margin-bottom: 0.4em;\">\r\n\t<p style=\"margin-top: 0.5em; margin-bottom: 0.5em;\">End-user mode: forbidden</p>\r\n\t</li>\r\n</ul>\r\n\r\n<p style=\"margin-top: 0.5em; margin-bottom: 0.5em; font-family: 'Proxima Nova', Helvetica, sans-serif; font-size: 13px; line-height: 16.8999996185303px;\">Create an application user. The following properties can be specified in the document:</p>\r\n\r\n<ul style=\"list-style-position: initial; list-style-image: initial; margin-left: 0.5em; margin-top: 0.7em; font-family: 'Proxima Nova', Helvetica, sans-serif; font-size: 13px; line-height: 16.8999996185303px;\">\r\n\t<li style=\"margin-top: 0.4em; margin-bottom: 0.4em;\">\r\n\t<p style=\"margin-top: 0.5em; margin-bottom: 0.5em;\"><code style=\"font-family: 'Source Code Pro', 'Panic Sans', Monaco, monospace, sans-serif; font-size: 0.9em; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 1px 2px; color: rgb(102, 51, 153); border: 1px solid rgba(0, 0, 0, 0.14902); background-color: rgb(255, 255, 245);\">username</code> (required) . An unique identifier within the application</p>\r\n\t</li>\r\n\t<li style=\"margin-top: 0.4em; margin-bottom: 0.4em;\">\r\n\t<p style=\"margin-top: 0.5em; margin-bottom: 0.5em;\"><code style=\"font-family: 'Source Code Pro', 'Panic Sans', Monaco, monospace, sans-serif; font-size: 0.9em; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 1px 2px; color: rgb(102, 51, 153); border: 1px solid rgba(0, 0, 0, 0.14902); background-color: rgb(255, 255, 245);\">description</code> . A description of the user for application purposes.</p>\r\n\t</li>\r\n\t<li style=\"margin-top: 0.4em; margin-bottom: 0.4em;\">\r\n\t<p style=\"margin-top: 0.5em; margin-bottom: 0.5em;\"><code style=\"font-family: 'Source Code Pro', 'Panic Sans', Monaco, monospace, sans-serif; font-size: 0.9em; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 1px 2px; color: rgb(102, 51, 153); border: 1px solid rgba(0, 0, 0, 0.14902); background-color: rgb(255, 255, 245);\">email</code> . Email address of the user</p>\r\n\t</li>\r\n\t<li style=\"margin-top: 0.4em; margin-bottom: 0.4em;\">\r\n\t<p style=\"margin-top: 0.5em; margin-bottom: 0.5em;\"><code style=\"font-family: 'Source Code Pro', 'Panic Sans', Monaco, monospace, sans-serif; font-size: 0.9em; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 1px 2px; color: rgb(102, 51, 153); border: 1px solid rgba(0, 0, 0, 0.14902); background-color: rgb(255, 255, 245);\">avatarUrl</code> . URL address where an avatar image for the user can be obtained.</p>\r\n\t</li>\r\n</ul>\r\n",
      "verb" : "POST",
      "authSchemes" : [ "CUSTOM" ],
      "parameters" : [ {
        "dataType" : "string",
        "defaultValue" : "application/json",
        "description" : "Specify as <code>application/json</code>.",
        "name" : "Content-Type",
        "required" : true,
        "type" : "HEADER"
      } ],
      "body" : {
        "contentType" : "application/json",
        "doc" : "",
        "parameters" : [ ],
        "sample" : "{\r\n    \"username\": \"LisaSmith\",\r\n    \"description\": \"User account description\",\r\n    \"email\": \"user@domain.com\"\r\n    \"avatarUrl\": \"http://the.url.com/with/avatar/pic.jpg\"\r\n}"
      },
      "tags" : [ "Create User" ],
      "createdTime" : 1414793676804,
      "modifiedTime" : 1415253784266,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/users",
      "resourceId" : "86053891-e33a-46f5-8e1b-70e2a243fa4c",
      "resourceName" : "Users",
      "resources" : [ ],
      "revisionNumber" : 1
    } ],
    "createdTime" : 1414791942368,
    "modifiedTime" : 1415302290582,
    "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
    "resources" : [ ],
    "revisionNumber" : 1
  }, {
    "id" : "711fdf4b-c36a-450f-b22a-faacd588dcea",
    "name" : "Timeline",
    "displayName" : "Timeline",
    "description" : "A timeline within the application",
    "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
    "path" : "/timelines/{timeline_id}",
    "parameters" : [ {
      "dataType" : "string",
      "defaultValue" : "",
      "description" : "The timeline id.",
      "name" : "timeline_id",
      "required" : true,
      "type" : "TEMPLATE"
    } ],
    "methods" : [ {
      "id" : "ae5ef000-eceb-48c5-859f-9c014481a25c",
      "name" : "Postcardtotimeline",
      "displayName" : "Post Card to Timeline",
      "description" : "<p>Adds a Card to the given timeline.</p>\r\n",
      "verb" : "POST",
      "authSchemes" : [ "CUSTOM" ],
      "parameters" : [ {
        "dataType" : "string",
        "defaultValue" : "application/json",
        "description" : "Specify as <code>application/json</code>.",
        "name" : "Content-Type",
        "required" : true,
        "type" : "HEADER"
      }, {
        "dataType" : "string",
        "defaultValue" : "",
        "description" : "End user username",
        "name" : "X-Lifestreams-User",
        "required" : true,
        "type" : "HEADER"
      } ],
      "body" : {
        "contentType" : "application/json",
        "doc" : "<p>A JSON object with the following fields:</p>\r\n\r\n<ul>\r\n\t<li>description (required)</li>\r\n\t<li>title (required)</li>\r\n\t<li>location (optional, object)\r\n\t<ul>\r\n\t\t<li>latitude</li>\r\n\t\t<li>longitude</li>\r\n\t</ul>\r\n\t</li>\r\n\t<li>eventData (optional, object)\r\n\t<ul>\r\n\t\t<li>... to be specified ...</li>\r\n\t</ul>\r\n\t</li>\r\n\t<li>attachments (optional, array of objects), each object:\r\n\t<ul>\r\n\t\t<li>filename (required)</li>\r\n\t\t<li>mimeType (required)</li>\r\n\t\t<li>sourceUrl (required)</li>\r\n\t\t<li>cropOptions (optional, object):\r\n\t\t<ul>\r\n\t\t\t<li>x (integer)</li>\r\n\t\t\t<li>y (integer)</li>\r\n\t\t\t<li>x1 (integer)</li>\r\n\t\t\t<li>y1 (integer)</li>\r\n\t\t\t<li>width (integer)</li>\r\n\t\t\t<li>height (integer)</li>\r\n\t\t</ul>\r\n\t\t</li>\r\n\t</ul>\r\n\t</li>\r\n</ul>\r\n\r\n<p> </p>\r\n\r\n<p> </p>\r\n",
        "parameters" : [ ],
        "sample" : "{\r\n    \"description\": \"Card text contents\",\r\n    \"title\": \"Card title\",\r\n    \"postAt\": 1404578668,\r\n    \"location\": {\r\n        \"latitude\": 40.689167,\r\n        \"longitude\": -74.044444,\r\n    },\r\n    \"eventData\": {\r\n        \"title\": \"Event name\",\r\n        \"details\": \"No dress code\",\r\n        \"location\": {\r\n            \"latitude\": 0.10101,\r\n            \"longitude\": 10.0202\r\n        },\r\n        \"startTime\": 1404578668,\r\n        \"endTime\": 1404579668\r\n    },\r\n    \"attachments\": [\r\n        {\r\n            \"filename\": \"image.jpg\",\r\n            \"mimeType\": \"image/jpeg\",\r\n            \"sourceUrl\": \"http://dl.dropboxusercontent.com/7xxxaA7ff/image.jpg\",\r\n            \"cropOptions\": {\r\n                \"x\": 100,\r\n                \"y\": 100,\r\n                \"x1\": 259,\r\n                \"y1\": 259,\r\n                \"width\": 160,\r\n                \"height\": 160\r\n            }\r\n        }\r\n    ]\r\n}"
      },
      "tags" : [ "Cards" ],
      "createdTime" : 1415214707989,
      "modifiedTime" : 1415252802037,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/timelines/{timeline_id}",
      "resourceId" : "711fdf4b-c36a-450f-b22a-faacd588dcea",
      "resourceName" : "Timeline",
      "resources" : [ ],
      "revisionNumber" : 1
    }, {
      "id" : "156a040c-de3d-43ec-addf-c5df45226450",
      "name" : "GetTimeline",
      "displayName" : "Get Timeline",
      "description" : "<p><strong>Developer mode</strong></p>\r\n\r\n<p>Retrieves information about a timeline</p>\r\n\r\n<p><strong>End-user mode</strong></p>\r\n\r\n<p>Allowed if the user has a membership on the timeline</p>\r\n",
      "verb" : "GET",
      "authSchemes" : [ "CUSTOM" ],
      "body" : {
        "contentType" : "application/json",
        "doc" : "",
        "parameters" : [ ],
        "sample" : ""
      },
      "tags" : [ "Timeline" ],
      "createdTime" : 1415213257799,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/timelines/{timeline_id}",
      "resourceId" : "711fdf4b-c36a-450f-b22a-faacd588dcea",
      "resourceName" : "Timeline",
      "resources" : [ ],
      "revisionNumber" : 1
    } ],
    "createdTime" : 1415212680475,
    "modifiedTime" : 1415302319639,
    "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
    "resources" : [ ],
    "revisionNumber" : 1
  }, {
    "id" : "2f4a7ad9-f460-4003-9225-4375791964ba",
    "name" : "User",
    "displayName" : "User",
    "description" : "Get a single User object by passing the unique User ID.",
    "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
    "path" : "/users/{user_id}",
    "parameters" : [ {
      "dataType" : "string",
      "description" : "The unique User ID.",
      "name" : "user_id",
      "required" : true,
      "type" : "TEMLATE"
    } ],
    "methods" : [ {
      "id" : "40995209-b28f-4523-aea9-c7629bdcc71c",
      "name" : "AddMembership",
      "displayName" : "Add Membership",
      "description" : "<p>Add a User to a Timeline.</p>\r\n",
      "verb" : "POST",
      "authSchemes" : [ "CUSTOM" ],
      "body" : {
        "contentType" : "application/jsonp",
        "doc" : "<p>Pass the required timelineId and Role a user is to be added to.</p>\r\n",
        "parameters" : [ ],
        "sample" : "{\r\n    \"timelineId\": \"54bc10dde9fa32231a\",\r\n    \"role\": \"admin\"\r\n}"
      },
      "tags" : [ "User Membership" ],
      "createdTime" : 1415145076424,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/users/{user_id}",
      "resourceId" : "2f4a7ad9-f460-4003-9225-4375791964ba",
      "resourceName" : "User",
      "resources" : [ ],
      "revisionNumber" : 1
    }, {
      "id" : "4ed8e55c-373f-4b23-b090-7b8d9d9ee8a9",
      "name" : "GetaUser",
      "displayName" : "Delete a User",
      "description" : "<p>Delete a single User by Id.</p>\r\n",
      "verb" : "DELETE",
      "authSchemes" : [ "CUSTOM" ],
      "parameters" : [ {
        "dataType" : "string",
        "description" : "The unique User Id",
        "name" : "user_id",
        "required" : true,
        "type" : "TEMPLATE"
      } ],
      "body" : {
        "contentType" : "application/jsonp",
        "doc" : "",
        "parameters" : [ ],
        "sample" : ""
      },
      "tags" : [ "User" ],
      "createdTime" : 1415142640531,
      "modifiedTime" : 1415142768624,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/users/{user_id}",
      "resourceId" : "2f4a7ad9-f460-4003-9225-4375791964ba",
      "resourceName" : "User",
      "resources" : [ ],
      "revisionNumber" : 1
    }, {
    "id" : "c1a13340-660c-42fb-87d4-1619b78fdae0",
    "name" : "TimelineMembership",
    "displayName" : "Timeline Membership",
    "description" : "Get details on User membership for a given Timeline.",
    "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
    "path" : "/users/{user_id}/membership/{timeline_id}",
    "methods" : [ {
      "id" : "c9c4d93c-2f09-47a0-b2ea-b5c34b3ee51e",
      "name" : "GetMembershipDetails",
      "displayName" : "Get Membership Details",
      "description" : "<p>Retrieve the User membership details for a given Timeline.</p>\r\n",
      "verb" : "GET",
      "authSchemes" : [ "CUSTOM" ],
      "parameters" : [ {
        "dataType" : "string",
        "description" : "The unique User Id.",
        "name" : "user_id",
        "required" : true,
        "type" : "TEMPLATE"
      }, {
        "dataType" : "string",
        "description" : "The unique Timeline Id.",
        "name" : "timeline_id",
        "required" : true,
        "type" : "TEMPLATE"
      }, {
        "dataType" : "string",
        "defaultValue" : "application/json",
        "description" : "Specify as <code>application/json</code>.",
        "name" : "Content-Type",
        "required" : true,
        "type" : "HEADER"
      } ],
      "body" : {
        "contentType" : "application/json",
        "doc" : "",
        "parameters" : [ ],
        "sample" : ""
      },
      "createdTime" : 1415221862409,
      "modifiedTime" : 1415222189030,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/users/{user_id}/membership/{timeline_id}",
      "resourceId" : "c1a13340-660c-42fb-87d4-1619b78fdae0",
      "resourceName" : "TimelineMembership",
      "resources" : [ ],
      "revisionNumber" : 1
    } ],
    "createdTime" : 1415221735844,
    "modifiedTime" : 1415302442190,
    "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
    "resources" : [ ],
    "revisionNumber" : 1
  }, {
    "id" : "a7717af0-da0f-4f62-a0ca-9b594d1bc26e",
    "name" : "Timelines",
    "displayName" : "Timelines",
    "description" : "Retrieve a list of Timelines.",
    "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
    "path" : "/timelines",
    "methods" : [ {
      "id" : "2484f4a7-f647-443d-96ef-f1fcf1d73160",
      "name" : "GetallTimelines",
      "displayName" : "Get all Timelines",
      "description" : "<p>Retrieve all of the Timelines for a given App.</p>\r\n",
      "verb" : "GET",
      "authSchemes" : [ "CUSTOM" ],
      "body" : {
        "contentType" : "application/json",
        "doc" : "",
        "parameters" : [ ],
        "sample" : ""
      },
      "tags" : [ "Timelines" ],
      "createdTime" : 1415209275239,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/timelines",
      "resourceId" : "a7717af0-da0f-4f62-a0ca-9b594d1bc26e",
      "resourceName" : "Timelines",
      "resources" : [ ],
      "revisionNumber" : 1
    }, {
      "id" : "514665e1-6387-4ade-86ab-fa73047682af",
      "name" : "CreateTimeline",
      "displayName" : "Create Timeline",
      "description" : "<p><strong>Developer mode</strong></p>\r\n\r\n<p>Creates a new timeline.</p>\r\n\r\n<p><strong>End-user mode</strong></p>\r\n\r\n<p>Forbidden to end users.</p>\r\n",
      "verb" : "POST",
      "authSchemes" : [ "CUSTOM" ],
      "parameters" : [ {
        "dataType" : "string",
        "defaultValue" : "application/json",
        "description" : "Specify as <code>application/json</code>.",
        "name" : "Content-Type",
        "required" : true,
        "type" : "HEADER"
      } ],
      "body" : {
        "contentType" : "application/json",
        "doc" : "<p style=\"margin-top: 0.5em; margin-bottom: 0.5em; font-family: 'Proxima Nova', Helvetica, sans-serif; font-size: 13px; line-height: 16.8999996185303px;\">The request body should contain the following properties:</p>\r\n\r\n<ul style=\"list-style-position: initial; list-style-image: initial; margin-left: 0.5em; margin-top: 0.7em; font-family: 'Proxima Nova', Helvetica, sans-serif; font-size: 13px; line-height: 16.8999996185303px;\">\r\n\t<li style=\"margin-top: 0.4em; margin-bottom: 0.4em;\">\r\n\t<p style=\"margin-top: 0.5em; margin-bottom: 0.5em;\"><code style=\"font-family: 'Source Code Pro', 'Panic Sans', Monaco, monospace, sans-serif; font-size: 0.9em; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 1px 2px; color: rgb(102, 51, 153); border: 1px solid rgba(0, 0, 0, 0.14902); background-color: rgb(255, 255, 245);\">name</code> . A name or title (not necessarily unique) for the timeline</p>\r\n\t</li>\r\n\t<li style=\"margin-top: 0.4em; margin-bottom: 0.4em;\">\r\n\t<p style=\"margin-top: 0.5em; margin-bottom: 0.5em;\"><code style=\"font-family: 'Source Code Pro', 'Panic Sans', Monaco, monospace, sans-serif; font-size: 0.9em; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 1px 2px; color: rgb(102, 51, 153); border: 1px solid rgba(0, 0, 0, 0.14902); background-color: rgb(255, 255, 245);\">description</code> . (optional) A description of the timeline</p>\r\n\t</li>\r\n</ul>\r\n",
        "parameters" : [ ],
        "sample" : "{\r\n    \"name\": \"Paraphernalia\",\r\n    \"description\": \"Related events\"\r\n}"
      },
      "tags" : [ "Timelines" ],
      "createdTime" : 1415209566044,
      "modifiedTime" : 1415213198994,
      "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
      "baseUrl" : "http://lifestreams-test.apigee.net/ls-dev/v2",
      "methods" : [ ],
      "path" : "/timelines",
      "resourceId" : "a7717af0-da0f-4f62-a0ca-9b594d1bc26e",
      "resourceName" : "Timelines",
      "resources" : [ ],
      "revisionNumber" : 1
    } ],
    "createdTime" : 1415209144970,
    "modifiedTime" : 1415302417284,
    "apiRevisionId" : "bc092aab-1d89-4113-8c35-b81da2ede631",
    "resources" : [ ],
    "revisionNumber" : 1
  } ],
  "createdTime" : 1414791827289,
  "modifiedTime" : 1415132201534
}
Solved Solved
0 2 591
1 ACCEPTED SOLUTION

Perhaps your JSON was munged when you posted it, but it looks like a number of "doc", "description", and "sample" elements have un-escaped double quotes that make your JSON invalid.

But if you ignore those, it looks to me like you still have a structural problem with your JSON. Perhaps a square bracket or curly brace was inadvertently removed?

To answer your other question, I can confirm that I have imported both the internal JSON and Swagger URLs.

View solution in original post

2 REPLIES 2

Not applicable

@Oscar Medina, can you please email help@apigee.com with this? I'll pick it up from there and enter a Support ticket for you.

Perhaps your JSON was munged when you posted it, but it looks like a number of "doc", "description", and "sample" elements have un-escaped double quotes that make your JSON invalid.

But if you ignore those, it looks to me like you still have a structural problem with your JSON. Perhaps a square bracket or curly brace was inadvertently removed?

To answer your other question, I can confirm that I have imported both the internal JSON and Swagger URLs.