Back to top

Actors 

An Actor in the resultsummary recipe is a watcher of a resultsummary. They are identified here by email address and the mbox value provided in the statements.

Actors List 

Provides access to all of the actors/watchers found by this recipe.

GET All Actors
/actors{?recipeId}
https://server.abc/Recipes/actors?recipeId=http://id.tincanapi.com/recipe/resultsummary/1
  • Response  200Toggle
  • Headers
    Content-Type: application/json
    Body
    { "results" : [ { "actors" : [ { "mbox" : "mailto:jimmy@testing.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:joe.user.4@testing.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:joe.user.5@testing.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:joe.user3@testing.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:test@tester.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:tester@testing.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:tester2@testing.com",
                  "objectType" : "Agent"
                }
              ] } ] }
    
    
  • Response  400Toggle
  • Headers
    Content-Type: application/json
    Body
    {"results":[],"error":"recipeId was not supplied in the queryParams"}
    

Actors by Email 

Provides access to all of the actors/watchers found by this recipe filtered by the provided email fragment.

GET Actors by Email
/actors{?recipeId,email}
https://server.abc/Recipes/actors?recipeId=http://id.tincanapi.com/recipe/resultsummary/1&email=testing.com
  • Response  200Toggle
  • Headers
    Content-Type: application/json
    Body
    { "results" : [ { "actors" : [ { "mbox" : "mailto:jimmy@testing.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:joe.user.4@testing.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:joe.user.5@testing.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:joe.user3@testing.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:tester@testing.com",
                  "objectType" : "Agent"
                },
                { "mbox" : "mailto:tester2@testing.com",
                  "objectType" : "Agent"
                }
              ] } ] }
    
    
  • Response  400Toggle
  • Headers
    Content-Type: application/json
    Body
    {"results":[],"error":"recipeId was not supplied in the queryParams"}
    

Objects 

Provides access to all the objects/resultsummarys found by this recipe. Use this to populate selectors for object/resultsummary specific queries.

Objects List 

Provides access to all of the actors/watchers found by this recipe.

GET All Objects
/objects{?recipeId}
https://server.abc/Recipes/objects?recipeId=http://id.tincanapi.com/recipe/resultsummary/1
  • Response  200Toggle
  • Headers
    Content-Type: application/json
    Body
    {"results":[
        {"objectIds":[
         ]
    }
    ]
    }
    
  • Response  400Toggle
  • Headers
    Content-Type: application/json
    Body
    {"results":[],"error":"recipeId was not supplied in the queryParams"}
    

Results 

Aggregate data from all statements matching the recipe. Perform a pre-defined query on the datastore with optional parameters

Results List 

Get Results
/results{?recipeId,recipeQueryId,limit,*additional parameters*}
https://server.abc/Recipes/results?recipeQueryId=GetResults&recipeId=http://id.tincanapi.com/recipe/resultsummary/1
  • Parameters
  • recipeId
    URI (required) Example: http://registry.tincanapi.com/recipes/resultsummary/1
    recipeQueryId
    resultsQuery (required) Example: GetResults

    Choices: GetResults

    additionalParams
    queryStringParameter (optional) Example: objectId=123
  • Response  200Toggle
  • Headers
    Content-Type: application/json
    Body
    {"results":
        [
            {}
        ]
    }
    
  • Response  400Toggle
  • Headers
    Content-Type: application/json
    Body
    {"results":[],"error":"recipeId was not supplied in the queryParams"}

Generated by aglio on 06 Aug 2015