3
$\begingroup$

In this post I create a temporary object like follow

CloudDeploy[
 FormFunction[{"x" -> <|"Input" -> "Apple"|>}, 
  Identity], "tem/identity"]

CloudObject[https://www.wolframcloud.com/objects/user***/tem/identity]

I have to say I just creat one object in folder tem, but when I run:

CloudObjects["tem", FormFunction]

I get a lots CloudObject. Actually I just use the fourth usage of CloudObjects:

CloudObjects[dir,type]

It is a bug of CloudObjects or I miss something?

$\endgroup$
1
  • $\begingroup$ @Kuba Yes,I have.After you confirmed. :) $\endgroup$
    – yode
    Commented Oct 9, 2016 at 18:14

2 Answers 2

2
$\begingroup$

Looks like a bug, here is a work-around:

Select[
 CloudObjects["/tem"],
 CloudObjectInformation[#, "MIMEType"] === "application/vnd.wolfram.expression.form" &
]

This is for FormFunction, for ApiFunction it ends up with .api. You will have to try what are mime types specs for object types you are interested in.

$\endgroup$
2
$\begingroup$

It is comfirmed a bug(RE: [CASE:3732853]).I get a response just now

Thank you for contacting Wolfram Technical Support.

It's unclear why the CloudObjects expression is returning multiple objects when it should be 1.

It has been reported on your behalf, to our developers.

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.