Cloud APIs
ExperiencesApi
publishPlace

publishPlace

Publishes a place file (.rbxl or .rbxlx) to a specific place.

Parameters

NameTypeDescription
universeIdIdentifierThe ID of the universe the publish the place file to.
placeIdIdentifierThe ID of the place to publish the place file to.
versionType"Saved" | "Published"The version type to publish with.
placeFileBuffer | stringEither a string or a buffer of the place file. (Using a string is recommended).

Example

const { data: newVersion } = await ExperiencesApi.publishPlace({
  universeId: 5795192361,
  placeId: 16866553538,
  versionType: "Published",
  placeFile: "./place.rbxlx",
}); 

Endpoint

POST /universes/v1/{universeId}/places/{placeId}/versions