Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note

If the API changes in an incompatible manner this is listed explicitly in the "important release notes" section of each releases changelog.

Provides access to the associations between tasks and

...

language resources.

URL:

/editor/languageresourcetaskassoc/[ID]

Available Methods:

GET / POST / DELETE

Specialities:

Datasets can not be edited, only deleted and created.

Availability:note

Only available for supporters of the crowdfunding until the crowdfunding is fully financed.

Resource Layout

Name

Type

Info

id

integer

(GET

only

,DELETE) auto incremented

name

languageResourceId

string

GET only, defined by the service and depends on the configured resources of the service.

serviceNamestringGET only, defined by the service (readable name of the service)

serviceType

string

GET only, defined by the service (PHP class name)

filebased

boolean

GET only, defined by the service

searchable

boolean

GET only, defined by the service

defaultColor

string

GET only, defined by the service

integer

(POST) The language resource which should be assigned to the task. (table name → LEK_languageresources field name → 'id')

taskGuidstring(POST) Unique task guid identifier. (table name → LEK_task field name → taskGuid)

segmentsUpdateable

integer

(POST) Segments will be updated in the language resources. (default is 0)


Post request example

Code Block
languagejs
{
	data:{
    	"languageResourceId":1,
	 	"taskGuid":"{341d3dab-8c0b-4469-a8a8-30e9ddb81a26}",
		"segmentsUpdateable":0
	}
}