If the file to be analyzed already exists in the portal as an item, callers can pass in its itemId. Callers can also directly post the file. In this case, the request must be a multipart post request pursuant to IETF RFC1867. The third option for text files is to pass the text in as the value of the text parameter.

Generate requires that the caller pass in publish parameters that describe the layers in the feature collection to be generated.

Callers can use the Analyze operation to generate the default publishing parameters for the source input.

A JSON object describing the layer and service to be created as part of the Publish operation​. The appropriate value for publish parameters depends on the file type being published. For a complete description, see Publish.