RESTful APIs - create but don't lookup [closed] - database

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
In the context of RESTful APIs, what is an example of a real world object, that would make sense to Create but not Lookup? Is there one?
--Edit--
The question was to ask if there exists a usecase where a Create API would make sense, but not necessarily a Lookup API for the object - in places where you wouldn't want to expose the data(using the lookup API) to the outside world.

How about a keystroke logger...sending POSTs to create the audit trail.
You would not want to allow anyone to GET the results (besides you).

Related

How to use AngularJS for writing the interface of a node-red custom node? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I am referring to the .html file associated with the node, not to the UI related nodes. I asked on the official forum and the response was that at the moment Angular is not used. My opinion is that it can be useful for writing nodes faster, without having to use only jQuery.
Thank you!
Short answer, at the this time you can not do this. Asking on here isn't going to get you a different answer.
If you want this to change then you need to make a very strong case (on the forum) as to why this needs to be done. The node's config (as described in the nodes HTML file) really shouldn't be that complicated that it needs a complex framework to lay it out.

CouchDB: Write and update documents, not read [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Quick question: Is there a way to let a user write (/create) documents and let him update and read his own documents, but not read documents of other users in a shared database?
No, fine grained security is done as design documents for updates and not for reading. You can:
use database-per-user and replicate them to the shared database.
have the user only add to their own _users document as _users implements this special case.

Optimizing database for SEO friendly URLs [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am re-asking a question I wrote before the censors closed my question. (I still don't understand why) https://blog.stackoverflow.com/2013/06/the-war-of-the-closes/.
I want to know how to efficiently query a database according to a non-primary key, such as URLs that have no IDs and just a title.
How would this work in terms of indexing?
The original question is here.
You'd still need a candidate key (otherwise, to which database record(s) does a URL refer to?). In terms of indexing, a unique index should be fine to look up URL fragments against it.

A data persistence library for AngularJs [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
There is an alpha for Ember Js and also Persistence. Is there something similar for AngularJs (or it is in plan)?
Maybe there is something that is framework independent?
What I need is actual library which enables these:
To define my object model
To define relations between models (hasMeny, foreignKey)
To enable REST calls and caching of models on client
UPDATE
I found these (credits go to Miroslav)
http://www.breezejs.com/
http://amplifyjs.com/
http://reclinejs.com/
At the and I finished with BREEZEJS
It offered best documentation and sample and it is very straightforward.
UPDATE: Recently new library created called ngActiveResource. It is simple and straightforward.

What are the best ways to show live data in Silverlight? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm using a stream engine that updates my database every second with significant set of data.
I would suggest looking into using a WCF Duplex Service. I found several articles about implementing it searching for "Silverlight WCF Duplex Service." You should also consider bring back chunks of your data instead of the whole set each time if the data set is significantly large as you mentioned.

Resources