Sha256: 152ab9f7b9605ed2e1468db66d3cf609ef113b335eeec7919a0f4932ff966344

Contents?: true

Size: 795 Bytes

Versions: 1

Compression:

Stored size: 795 Bytes

Contents

# an individual page
GET /pages/:slug
{
  links: {
    self: "/pages/:slug",
    admin: "admin/pages/:slug"
  },
  data: {
    title: "string",
    keywords: "string",
    description: "string",
    layout:  "one_column",
    contents: {
      main: {
        links: { self: "/content-blocks/:id"  }
        data: {
          content_type: 'text/html',
          body: 'Four score and <em>seven</em> years'
        }
      },
      headline: {
        links: { self: "/content-blocks/:id" },
        data: {
          content_type: 'text/html',
          body: 'The Gettysburg Address'
        }
      },
      styles: {
        links: { self: "/content-blocks/:id" },
        data: {
          content_type: 'text/css',
          body: 'p { font-weight: bold; }'
        }
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xing-framework-0.0.2 default_configuration/base_app/API_DOC/page