Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums
  1. Home
  2. General
  3. builder/v1/deploy api latest schema

builder/v1/deploy api latest schema

Scheduled Pinned Locked Moved Unsolved General
7 Posts 2 Posters 908 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    noah
    wrote on last edited by noah
    #1

    hi.

    I'd like to know the latest schema information for builder/v1/deploy.

    Our system is structured to be deployed at the time of deployment.

    Since blogs are historical and unreliable,

    I'd like to request the latest schema information for builder/v1/deploy.

    I'd also like to check the body of a scenario where only productPricing and itemCatalog are deployed.
    There's an issue where a script must be deployed in components, but I don't want to deploy the script.

    Thank you.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JasonL
      bitHeads
      wrote on last edited by
      #2

      I believe you can set components.scripts to false if you do not want scripts to be deployed to the target app. Please see the documentation for details: https://builder.docs.braincloudservers.com/#a4b146d3-03a2-497a-a0a1-b85ef005123d

      1 Reply Last reply
      0
      • N Offline
        N Offline
        noah
        wrote on last edited by
        #3

        hi. @JasonL
        Thanks for the link.
        Thanks to you, I checked many schemas.

        The problem is that if I don't set the script to true , the response is returned as below:

        "'scripts' component must be true when the 'meta' component is true."

        components: {
        meta: true,
        scripts: false,
        files: false,
        customEntities: false,
        legacyFiles: false,
        },
        options: {
        meta: {
        excludes: {
        itemCatalog: false,
        productPricing: false,
        pushCertificates: true,
        integrations: true,
        myServers: true,
        lobbies: true,
        leaderboardsTournaments: true,
        independentLeaderboards: true,
        migratableGlobalEntities: true,
        selfServiceBranding: true,
        },
        },
        scripts: {},
        },
        allowLiveUpdate: true,

        1 Reply Last reply
        0
        • N Offline
          N Offline
          noah
          wrote on last edited by
          #4

          hi. @Paul-Winterhalder
          From a content development and operations perspective, I have a scenario where I need to deploy only two items: product pricing and item catalog. I'm experiencing the above issue. Can you help me?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            JasonL
            bitHeads
            wrote on last edited by
            #5

            You cannot set meta=true and script=false because meta deployments automatically export all cloud code scripts as part of the full configuration snapshot, and the validation enforces scripts=true to reflect what will be deployed accurately; however, you can set meta=false and script=false to exclude scripts from deployment, and you can override the default deployment behavior set in the portal for itemCatalog and productPricing.

            1 Reply Last reply
            0
            • N Offline
              N Offline
              noah
              wrote on last edited by
              #6

              based on meta=false and script=false as a result, I only want to distribute items and products.
              Please provide a sample body.

              1 Reply Last reply
              0
              • N Offline
                N Offline
                noah
                wrote on last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Solved
                • Unsolved
                • Users