Questions tagged [discoverability]

Discoverability is the ability of something, especially a piece of content or information, to be found.

The usage of any piece of information relates to how discoverable it is, i.e. the quality of related meta-information. Apart from increasing the reuse potential of the services, Discoverability is also required to avoid development of solution logic that is already contained in an existing service.

29 questions
57
votes
6 answers

Discovering Ruby object members?

What is an easy way to find out what methods/properties that a ruby object exposes? As an example to get member information for a string, in PowerShell, you can do "" | get-member In Python, dir("") Is there such an easy way to discover member…
dance2die
  • 35,807
  • 39
  • 131
  • 194
12
votes
1 answer

Do RESTful service parameters have to be discoverable?

Preamble: My understanding of REST is shallow at best, so any corrections or clarifications to my questions are welcome. I have a situation where I need the user of a RESTful service to submit an arbitrary real positive number. I therefore assume I…
elhefe
  • 3,404
  • 3
  • 31
  • 45
9
votes
2 answers

does REST discoverability and HATEOAS imply that you can change URIs?

I'm trying to clarify a concept related to REST discoverability - that is whether or not satisfying the HATEOAS constraint for a RESTful service means that now the URIs can change, because they are discoverable and not documented. That seems to not…
Eugen
  • 8,523
  • 8
  • 52
  • 74
4
votes
2 answers

What is a good way to allow the wider discoverability of private GitHub repositories?

If you are in an organisation, there may be GitHub repositories that are private (i.e. you don't have access to them), but it would be useful to know that they exist, and then you could arrange access where appropriate. In other words we are trying…
Mark Neal
  • 996
  • 16
  • 52
3
votes
1 answer

Bluetooth discoverable state OFF programatically on button click

How can we make bluetooth discoverable state off programmatically. On first click(buton) I could able to make it discoverable and for second click on the same button Its not working I mean if its in discoverable state I should make it off Here is…
Randroid
  • 3,688
  • 5
  • 30
  • 55
2
votes
1 answer

Setting discoverable mode for bluetooth to always on seam to fail

I am trying to set the bluetooth discoverable mode to always on in Android 4.0. This should be possible with 4.0, with the command: Intent enableBtIntent = new…
user1140596
  • 121
  • 1
  • 1
  • 10
2
votes
2 answers

HAL Relation Type (rel) vs. Link name property

I am trying to understand the nuances between the use of Relation Types and Link's with a Name property. Perhaps an example will best illustrate my question. Consider a HAL formatted response representing a peer reviewed article: { name:…
allenru
  • 697
  • 6
  • 22
2
votes
3 answers

Should HATEOAS API client not use bookmarked URLs?

Suppose I want to write an application that displays some prices of products. I discover a link using hypermedia which is a HTML form that takes product name as an input. I bookmark it and proceed to embed that link into the client. Is there a…
sevo
  • 4,559
  • 1
  • 15
  • 31
2
votes
1 answer

Discovering the version of a SPARQL endpoint

Given a SPARQL endpoint (which can be either SPARQL 1.0 or 1.1), say for example http://pt.dbpedia.org/sparql, how do I find which version of SPARQL it supports? [One option is to try out a 1.1 feature such as aggregate functions and see it works…
Nandana
  • 1,240
  • 8
  • 17
2
votes
1 answer

Neo4j - Reduce number of fields returned in REST response

The response returned by Neo4j's REST interfaces are very verbose - they return not only the data in each node requested, but also the full discoverability for every node requested. If I just want some node data, the results are about 20 times…
Ken Williams
  • 22,756
  • 10
  • 85
  • 147
2
votes
6 answers

Android: Set Bluetooth Discoverability Unbounded

I have spent the last couple of days trying to make an app that keeps my Samsung Galaxy S3 mini (Android 2.1.4) discoverable for an "infinite" amount of time. My code looks currently as follows: package com.example.downtoone; import…
2
votes
1 answer

How to save a list of discoverable bluetooth devices in android?

I'm trying to get a list of disoverable bluetooth devices in android. I can get the devices and using an ArrayAdapter, populate a ListView of the devices. My question is, how do I save them to a list so I can use this information for another…
Aimee Jones
  • 881
  • 2
  • 18
  • 38
2
votes
3 answers

How to Change the Scan Mode of Bluetooth Adapter in android.?

Currently i am working on a Bluetooth app where i need to change the Scan Mode from SCAN_MODE_CONNECTABLE_DISCOVERABLE to SCAN_MODE_CONNECTABLE on click of a button. i am setting it Discoverable using following Intent: Intent discoverableIntent =…
Amritpal Singh
  • 984
  • 2
  • 14
  • 33
2
votes
2 answers

How to discover the abap development objects' properties?

I'm comming from the java world, and i'd like to know if there's anything that can help me understand the properties of abap development objects.... something like reflection. Knowing that everything that goes on in ABAP is persisted somewhere…
vlad-ardelean
  • 7,480
  • 15
  • 80
  • 124
1
vote
1 answer

automatically enable bluetooth discoverability, when app is opened?

What code can I use for my phone app to automatically enable bluetooth discoverability, every time the app is opened? I would like to do this on multiple platforms - at least the main vendors. So if the necessary code is different for each, maybe a…
user1104092
1
2