[jira] [Commented] (TIKA-3694) Tika Server endpoint to return more details on a mime type

2022-03-07 Thread Nick Burch (Jira)


[ 
https://issues.apache.org/jira/browse/TIKA-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17502627#comment-17502627
 ] 

Nick Burch commented on TIKA-3694:
--

I've added new HTML and JSON endpoints {{/mime-types/type/subtype}} which 
return additional details on the specified type (or 404 if unknown), eg
{code:java}
{
  "extensions" : [ ".cbor" ],
  "acronym" : "CBOR",
  "alias" : [ ],
  "description" : "Concise Binary Object Representation container",
  "links" : [ "http://tools.ietf.org/html/rfc7049"; ],
  "type" : "application/cbor",
  "defaultExtension" : ".cbor"
}{code}
On the basis that people may have custom parsing around the all-types Text and 
JSON endpoints, no change made there to the output. The all-types HTML endpoint 
now returns a little bit more info, and links to the full details one.

> Tika Server endpoint to return more details on a mime type
> --
>
> Key: TIKA-3694
> URL: https://issues.apache.org/jira/browse/TIKA-3694
> Project: Tika
>  Issue Type: Improvement
>  Components: mime, server
>Affects Versions: 2.3.0
>Reporter: Nick Burch
>Priority: Major
>
> As raised on the user list - 
> [https://lists.apache.org/thread/mhtj6cgf323525hs6dow1oz68nkqwfgy] - users 
> calling the Java APIs are able to get additional details on a mime type, such 
> as common extensions and descriptions. Those calling the Tika Server can only 
> get limited information on mime types, such as which are known to Tika
> In addition to the current {{/mime-types}} endpoint (html/json/text), we 
> should add a more detailed one that takes a specific type.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (TIKA-3694) Tika Server endpoint to return more details on a mime type

2022-03-07 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TIKA-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17502654#comment-17502654
 ] 

Hudson commented on TIKA-3694:
--

FAILURE: Integrated in Jenkins build Tika » tika-main-jdk8 #481 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/481/])
TIKA-3694 Additional details in HTML on mime type, and per-type json (nick: 
[https://github.com/apache/tika/commit/7768c87b467bb6cc9d01f6b92c45131af3d44fef])
* (edit) 
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/resource/TikaMimeTypes.java
TIKA-3694 Per-Type HTML page, and more info in the JSON (nick: 
[https://github.com/apache/tika/commit/c54dd2078ab8a48461847a27e91ac27efbfe10ed])
* (edit) 
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/resource/TikaMimeTypes.java
* (edit) 
tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaMimeTypesTest.java
TIKA-3694 Unit test for type-specific page (nick: 
[https://github.com/apache/tika/commit/d583973f829aa2b48b8a08cb8c46927a3446ca7a])
* (edit) 
tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaMimeTypesTest.java
* (edit) 
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/resource/TikaMimeTypes.java


> Tika Server endpoint to return more details on a mime type
> --
>
> Key: TIKA-3694
> URL: https://issues.apache.org/jira/browse/TIKA-3694
> Project: Tika
>  Issue Type: Improvement
>  Components: mime, server
>Affects Versions: 2.3.0
>Reporter: Nick Burch
>Priority: Major
> Fix For: 2.3.1
>
>
> As raised on the user list - 
> [https://lists.apache.org/thread/mhtj6cgf323525hs6dow1oz68nkqwfgy] - users 
> calling the Java APIs are able to get additional details on a mime type, such 
> as common extensions and descriptions. Those calling the Tika Server can only 
> get limited information on mime types, such as which are known to Tika
> In addition to the current {{/mime-types}} endpoint (html/json/text), we 
> should add a more detailed one that takes a specific type.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (TIKA-3694) Tika Server endpoint to return more details on a mime type

2022-03-09 Thread Tim Allison (Jira)


[ 
https://issues.apache.org/jira/browse/TIKA-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503672#comment-17503672
 ] 

Tim Allison commented on TIKA-3694:
---

Looks like checkstyle is not happy with these commits.

> Tika Server endpoint to return more details on a mime type
> --
>
> Key: TIKA-3694
> URL: https://issues.apache.org/jira/browse/TIKA-3694
> Project: Tika
>  Issue Type: Improvement
>  Components: mime, server
>Affects Versions: 2.3.0
>Reporter: Nick Burch
>Priority: Major
> Fix For: 2.3.1
>
>
> As raised on the user list - 
> [https://lists.apache.org/thread/mhtj6cgf323525hs6dow1oz68nkqwfgy] - users 
> calling the Java APIs are able to get additional details on a mime type, such 
> as common extensions and descriptions. Those calling the Tika Server can only 
> get limited information on mime types, such as which are known to Tika
> In addition to the current {{/mime-types}} endpoint (html/json/text), we 
> should add a more detailed one that takes a specific type.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (TIKA-3694) Tika Server endpoint to return more details on a mime type

2022-03-09 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/TIKA-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503774#comment-17503774
 ] 

Hudson commented on TIKA-3694:
--

SUCCESS: Integrated in Jenkins build Tika » tika-main-jdk8 #483 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/483/])
TIKA-3694 - trivial checkstyle fixes (tallison: 
[https://github.com/apache/tika/commit/43b1284cf74467a94e3064108ab661fdcfa4d8a0])
* (edit) 
tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaMimeTypesTest.java
* (edit) 
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/resource/TikaMimeTypes.java


> Tika Server endpoint to return more details on a mime type
> --
>
> Key: TIKA-3694
> URL: https://issues.apache.org/jira/browse/TIKA-3694
> Project: Tika
>  Issue Type: Improvement
>  Components: mime, server
>Affects Versions: 2.3.0
>Reporter: Nick Burch
>Assignee: Tim Allison
>Priority: Major
> Fix For: 2.3.1
>
>
> As raised on the user list - 
> [https://lists.apache.org/thread/mhtj6cgf323525hs6dow1oz68nkqwfgy] - users 
> calling the Java APIs are able to get additional details on a mime type, such 
> as common extensions and descriptions. Those calling the Tika Server can only 
> get limited information on mime types, such as which are known to Tika
> In addition to the current {{/mime-types}} endpoint (html/json/text), we 
> should add a more detailed one that takes a specific type.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)