Create a web API from a function
APIFunction[{"name1" -> type1, "name2" -> type2, …}, fun]
APIFunction[{"name1" -> type1 -> default1, …}, fun]
APIFunction[params, fun, fmt]
APIFunction[params, fun, {fmt, rform}]
APIFunction[params, fun, {fmt, rform, failfmt}]
- AllowedCloudExtraParameters — default None
- AllowedCloudParameterExtensions — default Automatic
- ImageFormattingWidth — default Automatic
- ImageSize — default Automatic