CraftMyWebsite - API v1

C.M.S

GET

GET

/v1/cms/latest

Return the latest public CMW version

GET

/v1/cms/versions

Return all public CMW version

GET

/v1/cms/previous/:version

Return the public previous based on your CMW version name

  • version => string

PUT

PUT

/v1/cms/oneClickInstall

Return the latest CMW version for OneClickInstall


POST

POST

/v1/cms/download/website

POST

/v1/cms/update

Update your website

  • target_version_id => int
  • user_id => ?int
  • website_key => ?string
Market

GET

GET

/v1/market/resources/bundle/:id

Get a whole bundle by id

  • id => int

GET

/v1/market/resources/bundles

Get all bundles

GET

/v1/market/resources/bundle/lang/:id

Get a whole bundle by id

  • id => int

GET

/v1/market/resources/rating/:ressourceId

Get rating by resource id

  • ressourceId => int

GET

/v1/market/resources/:id

Get resource by id

  • id => int

GET

/v1/market/resources/slug/:slug

Get resource by id

  • slug => string

GET

/v1/market/resources/author/:id

Get resource by author id

  • id => int

GET

/v1/market/resources

Get all resources

GET

/v1/market/resources/latest/online

Get latest ressource version

GET

/v1/market/resources/names

Get all resources. Return only resource id and name.

GET

/v1/market/resources/tags

Get all resources. Return only resource id and name.

GET

/v1/market/resources/filtered/:type

Get filtered resources

  • type => int

GET

/v1/market/resources/filtered/:type/:status

Get filtered resources by status

  • type => int
  • status => int

GET

/v1/market/resources/version/:resourceId/:status

Get versions resource by id

  • resourceId => int
  • status => int

GET

/v1/market/resources/versions/:resourceId

Get versions resource by id

  • resourceId => int

PUT

PUT

/v1/market/resources/bundle/install/:id

Install bundle

  • id => int

POST

POST

/v1/market/resources/updates

update resource

  • @return array

POST

/v1/market/resources/install

Install resource

  • @return array
Network

GET

GET

/v1/network/ip

Return the client ip address

GET

/v1/network/check/port/:ip/:port

Check if port is open

  • ip => string
  • port => int